- 论坛徽章:
- 0
|
回复 songwubin007
try: cmd="/usr/local/mysql-5.1.54/bin/mysql -uroot -p123456 -h192.168.1 ...
blackold 发表于 2011-04-12 23:11 ![]()
+ user=root
+ cmd=/usr/local/mysql-5.1.54/bin/mysql -ureadonly -p123456 -h192.168.1.153 -e \"select \* from mysql.user where user='root' limit 1\"
+ eval /usr/local/mysql-5.1.54/bin/mysql -ureadonly -p123456 -h192.168.1.153 -e \"select \* from mysql.user where user='root' limit 1\"
+ /usr/local/mysql-5.1.54/bin/mysql -ureadonly -p123456 -h192.168.1.153 -e "select * from mysql.user where user=root limit 1"
/usr/local/mysql-5.1.54/bin/mysql Ver 14.14 Distrib 5.1.54, for unknown-linux-gnu (x86_64) using EditLine wrapper
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Usage: /usr/local/mysql-5.1.54/bin/mysql [OPTIONS] [database]
-?, --help Displa
还是不行 |
|