读书人

mysql mac 起动

发布时间: 2012-08-28 12:37:01 作者: rapoo

mysql mac 启动
If you have installed the Startup Item, use this command:

shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(Enter your password, if necessary)
(Press Control-D or enter "exit" to exit the shell)



If you do not use the Startup Item, enter the following command sequence:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(Enter your password, if necessary)
(Press Control-Z)
shell> bg
(Press Control-D or enter "exit" to exit the shell)


You should be able to connect to the MySQL server, for example, by running /usr/local/mysql/bin/mysql.

读书人网 >Mysql

热点推荐