📌  相关文章
📜  mariadb.service 失败,结果为 'exit-code' - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.549000             🧑  作者: Mango

代码示例1
cd /var/lib/mysql
ls
rm -r *
mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
systemctl start mysqld
systemctl start mysql.service
systemctl start mariadb
mysql