同库不同用户复制数据 1.授权用户导入表权限; SQL> grant exp_full_database to system; SQL> commit; 2.创建dblink; SQL> create public database link db_link1 connect to system identified by sys using ' ORCL'; SQL> commit; 3.导入impd; [$ORACLE_HOME/bin]$ impdp system/sys l
一.登录数据库 [root@localhost ~]# mysql -u root mysql > show databases; +--------------------+| Database |+--------------------+| information_schema || test |+--------------------+ 只显示这个两个数据库,看不到mysql数据库 二.解决方法:此问题实际上是用户没有权限: 1. 关闭mysql: service mysql stop
http://blog.itpub.net/7607759/viewspace-675079/ 2.2 授予权限 前面提到了grant命令,grant的语法看起来可是相当复杂的呐: GRANT priv_type [(column_list)] [, priv_type [(column_list)]] ... ON [object_type] priv_level TO user [IDENTIFIED BY [PASSWORD] 'password'] [, user [IDENTIFIED