0514-86177077
9:00-17:00(工作日)
[root@clq system]# mysql -v Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 49 Server version: 5.7.33 MySQL Community Server (GPL)
[Unit] Description=mysql server daemon After=network.target mysql-keygen.target [Service] Type=forking ExecStart=/usr/local/mysql/support-files/mysql.server start ExecStop=/usr/local/mysql/support-files/mysql.server stop ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target [Install] WantedBy=multi-user.target
/usr/lib/systemd/system/mysqld.service
systemctl daemon-reload systemctl enable --now mysqld [root@mysql ~]# ss -antl State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 128 0.0.0.0:111 0.0.0.0:* LISTEN 0 32 192.168.122.1:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 5 127.0.0.1:631 0.0.0.0:* LISTEN 0 128 [::]:111 [::]:* LISTEN 0 128 [::]:22 [::]:* LISTEN 0 5 [::1]:631 [::]:* LISTEN 0 80 *:3306 *:*
以上就是mysql5.7单实例自启动服务配置过程的详细内容,更多关于mysql5.7单实例自启动服务配置的资料请关注脚本之家其它相关文章!
标签:无锡 营口 西宁 汕尾 宝鸡 来宾 邯郸 七台河
上一篇:MySQL数据库主从复制原理及作用分析
下一篇:MySQL多实例安装开机自启动服务配置过程