为指定IP授权GRANT ALL PRIVILEGES ON *.* TO 'userName'@'ip' IDENTIFIED BY 'password' WITH GRANT OPTION;泛授权GRANT ALL PRIVILEGES ON *.* TO 'userName'@'%' IDEN...
分类:
数据库 时间:
2014-09-23 01:29:13
阅读次数:
240
展示效果:繁写:"; echo "asdfasdfadsf"; $mysql_server_name="localhost"; //数据库服务器名称 $mysql_username="root"; // 连接数据库用户名 $mysql_password="??????"; // 连接数据库密码 $m...
分类:
数据库 时间:
2014-09-23 01:19:03
阅读次数:
282
只有dba权限的用户才可以创建用户:create user usernameidentified {by password|EXTERNALLY|GLOBALLY AS external name}[default tablespace tablespace_name][temporary tabl...
分类:
其他好文 时间:
2014-09-22 23:40:53
阅读次数:
204
一、下载文件夹wgetftp://hehe[:port]/upload/wordpress-3.9.2/*--ftp-user=test--ftp-password=test-r
#tip:url一定要打开到需下载的目录,并在该目录上层用*表示全部二、下载多个文件ftp客户端登陆
ftp127.0.0.1
#关掉提示(不再每个文件提示是否y)
promptoff
#拿到test下..
分类:
系统相关 时间:
2014-09-22 19:57:33
阅读次数:
246
1、主服务器地址:192.168.1.244从服务器地址:192.168.1.2452、主服务器master设置1)修改/etc/my.cnf添加:log-bin=/home/mysql/log/mysql-bin.logserver-id=244(注:主从serverid不可重复,建议以IP地址设置)2)登录mysql创建用户sync并授权192.168.1.245mysql>GRANTRE..
分类:
数据库 时间:
2014-09-22 19:21:43
阅读次数:
210
#!/usr/bin/expectset timeout 60if {$argc != 3} { send "usage followed by src,dst,password" exit}set src [lindex $argv 0]set dst [lindex ...
分类:
其他好文 时间:
2014-09-22 18:46:22
阅读次数:
186
修改的用户都以root为列。一、拥有原来的myql的root的密码;方法一:在mysql系统外,使用mysqladmin#mysqladmin -u root -p password "test123"Enter password: 【输入原来的密码】方法二:通过登录mysql系统,#mysql -...
分类:
数据库 时间:
2014-09-22 14:47:02
阅读次数:
254
/ 链接数据库$_mysqli = new mysqli();$_mysqli->connect('localhost','root','password','cms');if (mysqli_connect_errno()){ echo 'error:'.mysqli_connect_errn.....
分类:
数据库 时间:
2014-09-21 21:40:01
阅读次数:
218
获取控件@InjectView(R.id.image_show_password)ImageView image_show_password;控件事件@OnClick(R.id.btn_submit) void btn_submit(){ intent=new Intent(context, M.....
分类:
其他好文 时间:
2014-09-21 13:39:40
阅读次数:
243
ubuntu@10-8-10-214:~$ su - rootPassword:su: Authentication failure 修改密码:$ sudo passwd rootEnter new UNIX password: Retype new UNIX password: passwd: ....
分类:
其他好文 时间:
2014-09-20 10:00:17
阅读次数:
261