只有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
一、数据的导入导出1、数据导入:把系统文件的内容保存到数据库的表里默认只有数据库管理冲数据库服务器本机登录数据库才有数据导入权限表结构要与文件内容匹配。把/etc/passwd文件的内容保存到数据库服务器userdb库的userlist表中mysql>createdatabaseuserdb;mysql>crea..
分类:
其他好文 时间:
2014-09-19 19:30:46
阅读次数:
297
数据库管理员密码的设置表记录的格式:一、数据库管理员密码的设置1、设置数据库管理员的初始密码默认情况下,数据库管理员在本机登陆时不需要密码[root@server1~]#mysqladmin–hlocalhost-urootpassword“xxxxx”[root@server1~]#mysql-hlocalhost-uroot-pxxxxx注:密码用双?.
分类:
数据库 时间:
2014-09-19 19:30:36
阅读次数:
572