📌  相关文章
📜  mysqli::real_connect(): (HY000 1045): Access denied for user 'pma'@'localhost' (using password: NO) - PHP Code Example

📅  最后修改于: 2022-03-11 14:53:59.950000             🧑  作者: Mango

代码示例2
// Connect to mysqli database

$connection = mysqli_connect('localhost', 'root', '', 'test'); 

// OR with a P@$$w0rd

$connection = mysqli_connect('localhost', 'root', 'P@$$w0rd', 'test');