shell> cd /usr/local/etc/rc.d/
shell> ./mysql-server start (開始)
shell> ./mysql-server stop (停止)
shell> ./mysql-server restart (重啟)
或
關閉 mysql 服務
shell> cd /usr/local/bin/
shell> ./mysqladmin shutdown -u
啟動 mysql 服務
shell> cd /usr/local/bin
shell> ./mysqld_safe &
沒有留言:
張貼留言