How to upload???
Posted 28 February 2006 - 11:53 PM
Posted 01 March 2006 - 02:11 AM
Does this make it clearer? (i'm a noob
Posted 01 March 2006 - 05:34 AM
Posted 01 March 2006 - 01:13 PM
I've just uploaded my database to my host but can't get my database to come up on the pages. I get this error when i open the page:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/tcs.awardspace.com/case. php on line 127
Couldn't connect to DB
This is my coding on the 127'th line...
$db = mysql_connect ('localhost:3306', 'toowoomba_parts', 'mypassword') or die ('Couldn\'t connect to DB');
mysql_select_db ('toowoomba_parts', $db) or die ('Couldn\'t select "parts" DB');
Posted 01 March 2006 - 07:41 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users