Mysql driver now has a function which can connect to a mysql database (using mysql_real_connect)