Jump to content

How to upload???


tabletennisman

Recommended Posts

phpMyAdmin has an export tab that you can access from the database's main structure page. If the target server has phpMyAdmin installed, you can use its import tab to load the data. If that is not a possibility, you can load the data through the command line, reply here and I'll try to instruct you.
Link to comment
Share on other sites

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!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.