mysql -h host -u user -p
host
user
********其中 host是MySQL主机的ip(本机的话也可以用localhost),user是你的用户名
mysql -h host -u user -p databasename
Powered by: BlogJava Copyright © Jafe Lee