MYSQL常用命令

编程

打开终端,输入如下命令:

/usr/local/MySQL/bin/mysql -u root -p

 

打开终端,输入如下命令:

mysql -h 23.106.134.88 -u root -p 123456

 

mac启动、停止、重启MySql服务

启动MySql服务:sudo /usr/local/mysql/support-files/mysql.server start
停止MySql服务:sudo /usr/local/mysql/support-files/mysql.server stop
重启MySql服务:sudo /usr/local/mysql/support-files/mysql.server restart

以上是 MYSQL常用命令 的全部内容, 来源链接: utcz.com/z/510679.html

回到顶部