midea2 发表于 2018-10-7 12:38:40

mysql配置开机启动

#!/bin/sh  
#
  
# This script will be executed *after* all the other init scripts.
  
# You can put your own initialization stuff in here if you don't
  
# want to do the full Sys V style init stuff.
  
touch /var/lock/subsys/local
  
/etc/init.d/mysqld start
  
~
  
~
  
~
  
~
  
"/etc/rc.local" 8L, 245C 已写入
  
# reboot
  
# ss -lntup|grep mysql
  
tcp    LISTEN   0      50                     *:3306                  *:*      users:(("mysqld",1459,10))


页: [1]
查看完整版本: mysql配置开机启动