PDA

View Full Version : MySQL Database URL


BrandonColorado
3-11-06, 09:09 PM
I know this is probably a stupid question, but Iam asked to input the URL in this format.

* Database URL format:
* $db_url = 'mysql://username: password@localhost/database';

So I used this....

$db_url = 'username: password@mysql18.powweb.com/database';
$db_prefix = '';

and its not connecting. I have created the database and I have uploaded the .sql file like the installation asked. What am I doing wrong?

tbonekkt
3-11-06, 11:21 PM
Try using:
$db_url = 'mysql://username:password@mysql18.powweb.com/databasename';

BrandonColorado
3-11-06, 11:34 PM
Brilliant, thanks.