hist : problems connecting to new mysql dbs
Posted by sarneil on 27 May 2010 in Activity log
BS working for JP reports a problem connecting from his php to the mysql db. He's using a line like this:
$db_url = 'mysql://username:password@host/databasename';
I've never seen that convention before. I'm used to four separate variables which are then passed into a mysql_connect call. I had no problems connecting using the more conventional approach, so it has to be something to do with his specific setup or code. Had a number of back and forth emails.