MySQL 8.0.15 SQLSTATE [HY000] [1045]
今天 配置了一个 云服务器
ubuntu 18.04lts
配置了一下 lnmp
到最后 php artisan migrate
显示
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = mature and table_name = migrations)
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
但是 密码肯定是对的。。。
我用命令行 登陆 创建数据库都正常
有没有人 遇到过 同样的 问题。。。 求解决方法 。。。
Google 一下午 无奈没找到 解决方案。。。
推荐文章: