mysql_install_db datadir=/var/lib/mysqlALTER USER ‘root‘@‘localhost’ identified by '123456'show databases; //查看mysql-server有那些数据库create user 'aa01'@'1 ...
分类:
数据库 时间:
2016-11-01 23:48:31
阅读次数:
231
1.首先 主库创建二进制数据访问账户(账户:repl 密码:repl@01) GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* to repl@'%' IDENTIFIED BY 'repl@01' 2.修改主库的配置文件(linux下:my.cn ...
分类:
数据库 时间:
2016-11-01 19:35:04
阅读次数:
180
1.创建表空间与用户,因为数据文件没有指定路径,所以需要修改数据文件路径,才有了下面的需求。 create tablespace wo datafile 'wo.dbf' size 20m;create user wo identified by "123abc" default tablespac ...
分类:
数据库 时间:
2016-11-01 09:45:59
阅读次数:
163
1. 授权用户root使用密码jb51从任意主机连接到mysql服务器:代码如下:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'jb51' WITH GRANT OPTION;flush privileges; 2.授权用户root ...
分类:
数据库 时间:
2016-10-31 00:09:37
阅读次数:
230
drop database link "STANDARD"; drop database link "CSPS" --创建dblink create database link STANDARD connect to OSIBANK identified by osibank using '(DES ...
分类:
数据库 时间:
2016-10-30 20:20:58
阅读次数:
292
00x1创建新用户 通过root用户登录之后创建 grant all privileges on *.* to testuser@localhost identified by "123456" ; /创建新用户,用户名为testuser,密码为123456 ; grant all privileg ...
分类:
数据库 时间:
2016-10-29 01:35:35
阅读次数:
309
参考:http://blog.chinaunix.net/uid-23215128-id-2951624.html 1.以root账户登录 2.grant all PRIVILEGES on discuz.* to ted@'10.110.1.100' identified by '123456'; ...
分类:
数据库 时间:
2016-10-26 19:57:42
阅读次数:
240
零、用户管理: 1、新建用户: >CREATE USER name IDENTIFIED BY 'ssapdrow'; 2、更改密码: >SET PASSWORD FOR name=PASSWORD('fdddfd'); 3、权限管理 >SHOW GRANTS FOR name; //查看name用 ...
分类:
数据库 时间:
2016-10-25 19:28:47
阅读次数:
247
[sql] view plain copy 建立表空间和用户的步骤: 用户 建立:create user 用户名 identified by "密码"; 授权:grant create session to 用户名; grant create table to 用户名; grant create t ...
分类:
数据库 时间:
2016-10-22 17:14:13
阅读次数:
236
1.创建用户 create user Johnson identified by XE;(Johnson是用户名,XE是密码) grant dba to Johnson;(给Johnson授权) 注意:创建新用户之后,用pl/sql developer登录的时候,用户类型选normal,而不是SYS ...
分类:
数据库 时间:
2016-10-22 07:17:03
阅读次数:
195