1、查询mysql是否启动

  netstat  -lnp|grep   3306

  ps -df |grep  mysqld

2、通过TCPIP的方式测试连接

  mysql -uqingjiao -padmin123 -h191.168.1.02 -P9922

相关文章: