在系统运行中输入:sqlplus /nolog在命令窗口分别执行:conn /as sysdbaalter user scott identified by tiger;alter user scott account unlock;这样就把“scott”用户密码修改为“tiger”了,用户可根据自...
分类:
数据库 时间:
2015-09-14 15:20:59
阅读次数:
172
grant all privileges on *.* to root@'%' identified by 'root'改动云主机上的/etc/mysql/my.cnf 文件。凝视掉 bind_address=127.0.0.1。句子ok ...
分类:
其他好文 时间:
2015-09-12 19:05:14
阅读次数:
147
创建用户1.首先登陆到系统用户sys(sys用户具有创建用户的权限)。2.然后在代码编辑框写入创建用户的代码。 语法:CREATE USER uer_name IDENTIFIED BY password; 示例:CREATE USER student IDENTIFIED BY 123456;.....
分类:
数据库 时间:
2015-09-12 12:16:42
阅读次数:
167
用户管理用户管理create 'user'@'host' indentified by 'PASSWORD';grant all privileges on DB_NAME.TABLE_NAME to 'user'@'host' identified by 'PASSWORD';use mysq;f...
分类:
其他好文 时间:
2015-09-12 00:51:24
阅读次数:
131
环境:CentOS6.3 数据库mysql6.5.26编辑/etc/my.cnfvi /etc/my.cnf重启mysqlservice mysqld restartcreate user 'mastj'@'192.168.1.16' identified by '123456';grant rep...
分类:
数据库 时间:
2015-09-11 14:11:46
阅读次数:
265
创建表空间 create tablespce test datafile ‘D:\TEST01.ora‘; 创建用户 create user test identified by test01; 给用户授权 grant create table,unlimited tablespace to test;--还可以授权 select insert 等等...
分类:
数据库 时间:
2015-09-10 13:17:14
阅读次数:
203
grant all PRIVILEGES on student.* to root@'192.168.119.120' identified by '123456'; /* 上面的语句表示将 discuz 数据库的所有权限授权给 root这个用户,允许 root用户在192.168.119.120进...
分类:
数据库 时间:
2015-09-09 21:26:34
阅读次数:
236
I have created a new user named watson and granted the related priviledges as following:SQL> create user watson identified by watson;SQL> grant resour...
分类:
其他好文 时间:
2015-09-09 21:11:28
阅读次数:
182
1 选择两个服务器,分别作为主备数据库2 登陆到服务器, yum install mysql ;yum install mysql-server; GRANT REPLICATION SLAVE,REPLICATION CLIENT on *.* to repl@'192.168.119.%' identified by '12...
分类:
数据库 时间:
2015-09-08 13:54:33
阅读次数:
246
一、安装MySQLyuminstallmysql-server-y1.启动mysql/etc/init.d/mysqldstart2.chkconfigmysqldon3.更改登录默认字符集#vim/etc/my.cnf4.检查字符集5.创建zabbix数据库,创建用户createdatabaseszabbix;grantallonzabbix.*tozabbix@localhostidentifiedby"zabbix_pass";6.修改数..
分类:
其他好文 时间:
2015-09-07 07:09:33
阅读次数:
232