![系统update之后MariaDB无法启动,提示[Warning] Can't create test file /home/data/mysql/localhost.lower-test-圈小蛙](https://www.qxwa.com/wp-content/uploads/2022/05/mysql-mariadb-150x150.png)
系统update之后MariaDB无法启动,提示[Warning] Can’t create test file /home/data/mysql/localhost.lower-test
Can‘t create test file /home/mysql/data1/localhost.lower-test的解放方法。
Can‘t create test file /home/mysql/data1/localhost.lower-test的解放方法。
根据MySQL官网对错误报告的回复,解决方法是用户可以手动创建丢失的表。缺失表结构在MySQL官网作为附件提供下载。
因为home目录受保护了,只有编辑mariadb.service 中的ProtectHome修改为false后才可以正常启动。
MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL的代替品。