Jump to content

tabletennisman

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tabletennisman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks, i got it uploaded but now i got another problem. 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'); Thanks guys!
  2. OK, i've got phpmyadmin and have created my database in that. Now i've got a host and i want to upload my database to them. Does this make it clearer? (i'm a noob :(
  3. Could somebody please tell me how to upload my mysql database to my host? I've tried to work it out but can't. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.