How do I connect to a MySQL database?

You can connect to MySQL databases from PHP or CGI scripts, or even from your own computer.

To view the correct connection settings:

  1. Login to the “My Account” control panel (having trouble?)
  2. Click MySQL Databases
  3. Click show settings next to the desired database

If you have not yet created a MySQL database, see creating a MySQL database.