MySQL在CMD连接到远程数据库

{{ time }}

格式: mysql -h主机名 -P端口名 -u用户名 -p密码 -D数据库名

如: mysql -hmysql.class4ever.com -P3306 -uricky333 -p19860011 -Dsonglist