MySQL_system启动配置文件/etc/systemd/system/mysqld.service

[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target
[Install]
WantedBy=multi-user.target
[Service]
User=mysql
Group=mysql
ExecStart=/app/mysql/bin/mysqld --defaults-file=/etc/my.cnf   ----------------------------------------/app/mysql/bin/mysqld(是mysql的程序位置)
LimitNOFILE = 5000

MySQL_system启动配置文件/etc/systemd/system/mysqld.service

上一篇:MongoDB基本操作


下一篇:AirtestIDE连接夜神模拟器报错(adb server version (36) doesn't match this client (40); killing...)