How do I connect to my MySQL databases through PHP?
1. Connect To The mySQL Server
Use the following statement to connect to the database server. Substitute the username, and password for the ones you created.
2. Select Your Database
Use the following statement to select the database. Make sure you substitute the example with your database name.
For more information on accessing your MySQL databases through PHP, please visit http://www.php-mysql-tutorial.com/connect-to-mysql-using-php.php .
- 0 Users Found This Useful
Was this answer helpful?
Overview MySQL databases allow you to store lots of information in an easy to access manner. The...
Overview You can easily delete a MySQL database from your web hosting account. Follow the...
Overview There are two primary steps when creating a MySQL user. The first step is to create a...
Overview phpMyAdmin is a web based database administration tool specifically for managing MySQL...
Overview Remote MySQL allows external web servers to access your MySQL databases by adding their...