一:开启数据库日志记录 (1)在查看数据库是否开启日志记录,默认是OFF,即关闭状态.(可在数据库中执行该查询语句,也可在服务器端执行) show variables like 'log_bin'; (2)开启数据库日志记录功能(在服务器端执行) 首先,查看my.cnf文件路径. find / -name my.cnf 然后,打开my.cnf配置文件,进行编辑. vi /etc/my.cnf 接下来,在配置文件中添加, log-bin=mysql-bin,如图. 最后,重启mysql. se
简单的创建数据库的 SQL 语句: use master go if exists(select * from sysdatabases where name='Test') begin select '该数据库已存在' drop database Test --如果该数据库已经存在,那么就删除它 end else begin create database Test on primary --表示属于 primary 文件组 ( name='stuDB_data', -- 主数据文件的逻辑名称
1.数据备份 ) ) ) )),'-','') ) SET @savePath = 'f:/DatabaseBackup/' DECLARE My_Cursor CURSOR FOR ( select name from sys.databases where name not like '%tmp%' and name not like '%temp%' and name not like '%master%' and name not like '%model%' and name not
转:http://dugan.bokee.com/630446.html 以下是Microsoft Windows SharePoint Services架构中数据库列表. Configuration Database Tables(配置数据库表) Content Database Tables(内容数据库表) SharePoint Services 数据库表(Database Tables) The following is a list of database tables used in