当前位置:Gxlcms > 数据库问题 > Linux 安装MySQL

Linux 安装MySQL

时间:2021-07-01 10:21:17 帮助过:18人阅读

root@VM_0_3_centos support-files]# cp -a /usr/local/mysql/mysql8.0.19/support-files/mysql.server /etc/init.d/mysqld #赋予可执行权限
[root@VM_0_3_centos support-files]# chmod a+x /etc/init.d/mysqld
#添加服务
[root@VM_0_3_centos support-files]# chkconfig --add mysqld
#显示服务列表 [root@VM_0_3_centos support-files]# chkconfig --list

技术图片

 

 

启动停止命令

service mysql stop

service mysql start

 

 

 参考:

https://www.jianshu.com/p/276d59cbc529

https://blog.csdn.net/s78365126/article/details/85267154

Linux 安装MySQL

标签:err   启动mysql   路径   创建目录   temporary   重启   strong   sar   回车   

人气教程排行