1.添加一个用户
grant all no *.* to 'user'@'%' identified by 'pwd';
如果还是不行,有可能防火墙的问题
查看防火墙是否开启了3306端口
如果没有3306这个端口,就添加上去
vi /etc/sysconfig/iptables
-A INPUT -m state –state NEW -m t...
分类:
数据库 时间:
2015-06-19 11:53:02
阅读次数:
138
创建用户概述:在oracle中要创建一个新的用户使用create user 语句,一般是具有dba(数据库管理员)的权限才能使用。create user 用户名 identified by 密码;(Oracle有个毛病,密码必须以字母开头,如果以数字开头,它不会创建用户)给用户修改密码概述:如果给自...
分类:
数据库 时间:
2015-06-19 10:12:53
阅读次数:
135
安装Mysql数据库数据库的安装顺序(1)Mysql-server(2)mysql-client(3)启动mysql服务(4)用root用户登录,以授权方式创建hive元数据库,和hive用户grantallonhive.*to‘hive‘@‘%‘identifiedby‘hive‘;这个hive数据库,及其用户和密码,是后面配置hive要用到的!!!备注:RedHatlinu..
分类:
其他好文 时间:
2015-06-18 20:10:04
阅读次数:
151
被监控机的Mysql监控创建专用数据库、专用数据库账户mysql -uroot -pcreate database nagios_monitor;grant select on nagios_monitor.* to nagios@'%' identified by 'nagiosMonitor';...
分类:
移动开发 时间:
2015-06-18 15:20:48
阅读次数:
140
刚用vagrant这东西,所以lnmp环境是必装。。开通外部访问权限:GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY '111111' WITH GRANT OPTION;flush privileges;进行到这的时候本以为大功告成。但是...
分类:
数据库 时间:
2015-06-18 11:05:47
阅读次数:
155
创建dblinkcreate database link demo connect to user1 identified by user1 using 'xe';grant CREATE PUBLIC DATABASE LINK,DROP PUBLIC DATABASE LINK to user1...
分类:
数据库 时间:
2015-06-17 08:13:50
阅读次数:
152
查看当前tcp监听端口[op@TIM html]$ netstat -nltp(Not all processes could be identified, non-owned process infowill not be shown, you would have to be root to s...
分类:
Web程序 时间:
2015-06-17 01:47:12
阅读次数:
162
--建立用户create user xxx identified by xxx account unlock;--设置权限grant dba to xxx;--导入数据dmpimp aichannel/aichannel@HUST file= d:datanewsmgnt.dmp full=y
分类:
数据库 时间:
2015-06-17 00:27:46
阅读次数:
149
create public database link DBLINK_WZGTAMS CONNECT TO WZGTAMS identified by WZGTAMSusing ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOC...
分类:
数据库 时间:
2015-06-16 20:49:38
阅读次数:
162
1、grant语句格式:grantselecton数据库.* to 用户名@登录主机 identified by “密码”说明:(1)grant all 赋予所有的权限(2)demo.*数据库demo 中所有的表(3)newuser 用户名(4)@localhost 在本地电脑上的 mysql se...
分类:
数据库 时间:
2015-06-16 19:02:31
阅读次数:
146