错误:
Base table or view not found: 1146 Table 'montemar.users' doesn't exist
问题是什么?
montemar
数据库存在但该表有错误(LOCKED TABLE)。我不知道那是什么。我无法执行查询或导出数据库。
对于该解决方案,我创建了一个新数据库(montemar2),我更改了我的
.env
文件,
但是项目一直在查询montemar
数据库。
$ systemctl apache restart
)a2dissite
没有任何作用。
项目查询
montemar2
数据库的可能解决方案是什么?
我不知道你是不是第一次安装这个项目但是你做了迁移吗?
php artisan make:migration
你怎么有这个配置?
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=yourdatabase
DB_USERNAME=root
DB_PASSWORD=