Created
December 20, 2017 17:29
-
-
Save naltun/4c24c404030afca0ec9090a554916d2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) | |
// My connection method | |
$connection = new mysqli($host, $dbuser, $pass, $dbname, $port); | |
var_dump($connection); // long live the connection errors | |
mysqli_close($connection); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment