homestead, mysql数据库Tag: #mysql50#lost+found
https://www.chriscalender.com/tag/mysql50lostfound/
1.whereis mysql 可以查看mysql位置
2.编辑/etc/mysql/my.cnf 添加下面内容
[mysqld] ignore-db-dir=lost+found
mysql> show global variables like 'ignore_db_dirs'; +----------------+------------+ | Variable_name | Value | +----------------+------------+ | ignore_db_dirs | lost+found | +----------------+------------+ mysql> use lost+found ERROR 1102 (42000): Incorrect database name 'lost+found'