How to test a MySQL database connection

Create a new php file:

";
?>

Place this file in your php enabled directory and browse to it.

If everything worked fine you will see

Connected to MySQL!!  FINALLY!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.