Making a connection from your code

Sample connection scripts for connecting to your MySQL database are provided for PHP, Perl and Java.

In all cases your connection script needs to specify four variables:

  1. Host (always set to localhost)
  2. Username
  3. Database name
  4. Password

Wiki: support/MySQL/Making_a_connection_from_your_code (last edited 2008-08-13 16:12:42 by AndrewRogers)