【发布时间】:2021-08-26 12:35:43
【问题描述】:
我在 gitlab CI 控制台中有这个错误。
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema = <mydatabase> and table_name = migrations and table_type = 'BASE TABLE')
经过搜索,我已经尝试过了
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mypassword';
有人可以帮助我吗?我使用 debian 生产服务器!
【问题讨论】:
-
非常感谢!我的问题解决了!这是 .env 变量的问题,我也想到了缓存
标签: laravel deployment gitlab continuous-integration gitlab-ci