production.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge'' in /data/www/infiniteSendV2/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:119
Stack trace:
可以我的配置文件一直没有动过。不知道是不是并发问题,我/config/database.php都修改了
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '121.40.**'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', '****'),
'username' => env('DB_USERNAME', '***'),
'password' => env('DB_PASSWORD', '***'),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],