数据库连接失败

错误信息:SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

配置信息:Array ( [type] => mysql [hostname] => 127.0.0.1 [database] => saas_cn [username] => root [password] => [hostport] => 3306 [dsn] => [params] => Array ( ) [charset] => utf8mb4 [prefix] => fa_ [debug] => 1 [deploy] => 0 [rw_separate] => [master_num] => 1 [slave_no] => [read_master] => [fields_strict] => 1 [resultset_type] => array [auto_timestamp] => [datetime_format] => Y-m-d H:i:s [sql_explain] => [builder] => [query] => \think\db\Query [break_reconnect] => [break_reconnect_num] => 3 )