Posted 17 April 2006 - 03:06 AM
I'm trying to get something really simple right ;
Database URL format:
* $db_url = 'mysql://username:password@localhost/databasename';
With localhost , are you meant to put in your domain name or what?
If you are say blah.net do you put that in as localhost or just blah or
something else ?
Posted 17 April 2006 - 08:13 AM
Posted 17 April 2006 - 12:33 PM
No. If you have mysql installed on the server which your site is running off then you can use localhost as the server is located locally. PHP will fund where the database is automatically. However if your MySQL database is hosted of another server then you'll have to subsitiue localhost with the domain name to the remote server.
I have mysql installed on my service provider so do I put in mysql.mydomain.net?
Thanks for your help too
Posted 17 April 2006 - 02:49 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users