Created
March 11, 2019 09:27
-
-
Save stracker-phil/633a16fd652b2fed5a12044781995b51 to your computer and use it in GitHub Desktop.
This file contains 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 | |
// Add this code at the end of wp-config.php | |
// ... | |
$link = mysqli_connect( DB_HOST, DB_USER, DB_PASSWORD ); | |
if ( ! $link ) { | |
die( 'Could not connect: ' . mysqli_connect_error() ); | |
} else { | |
die( 'DB Connection is working' ); | |
} | |
/* That's all, stop editing! Happy blogging. */ | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment