我需要从 MySQL 启动参数中删除跳过网络
我在 VPS 上的 Centos Linux 上运行 MySQL
有人可以告诉新手如何做到这一点吗?
我想启动和停止 mySQL 服务器,我必须做这样的事情
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
# ps -ef|grep 'mysql'
root 11331 20220 0 10:53 pts/0 00:00:00 grep mysql
root 32452 1 0 Apr02 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --skip-grant-tables --skip-networking
mysql 32504 32452 0 Apr02 ? 00:00:18 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock --skip-grant-tables --skip-networking
Run Code Online (Sandbox Code Playgroud)