How do I connect to my MySQL database?

Tags: • 

Hostname

To connect to a MySQL database, rather than connecting to localhost, please connect to:

mysql.internal.rhombic.net

We ask that you do this as we may host your database on a separate machine.

Command-line access

To access your database on the command line, via the mysql program, you need to use the -h option:

mysql -h mysql.internal.rhombic.net -u username -p databasename

Persistent Connections

When developing your script or configuring your application, we ask that you NOT use persistent MySQL connections.