Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一遍又一遍地遇到这个错误。我正在使用CPanel。
Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
我在连接文件中的代码:
$dsn = 'mysql:dbname=mydomain_xxx;host=localhost'; $user = 'mydomain_yyy'; $password = 'password';