(终极)Linux启动mysql服务器的命令

  • 1、首先查看
    /usr/local/mysql/support-files下面的服务文件是否mysql.server

  • 2、启动mysql的命令:

/usr/local/mysql/support-files/mysql.server start
  • 3、重启mysql命令:
/usr/local/mysql/support-files/mysql.server restart
  • 4、关闭mysql:
 /usr/local/mysql/bin# /usr/local/mysql/support-files/mysql.server stop

你可能感兴趣的:(Xsell,linux,xftp,mysql,linux,centos)