Programmers must know and know-MySQL 8.0 detailed explanation and actual combat
//将mysql目录的所属权更改为mysqlgroup下的mysqluser用户
chown -R mysqluser:mysqlgroup mysql
//赋予mysql目录读写权限
chmod -R 777 mysql
#启动mysql
[root@artisan mysql]systemctl start mysqld
#停止mysqld
[root@artisan mysql]systemctl stop mysqld
#重启mysqld
[root@artisan mysql]systemctl restart mysqld
#设置开机启动
[root@artisan mysql]systemctl enable mysqld
#查看 MySQL Server 状态
[root@artisan mysql]systemctl status mysqld
[Baidu Netdisk : https://pan.baidu.com/s/1oJRtoo3rDBpWwQihZOSMcg Extraction code: zm5n]
[Video is high-definition and unsecured , source notes are complete, if invalid, add me : ititit111222333; :1940379308]