how can i connect to the remote server
Posted by: sukanta (203.112.218.---)
Date: May 07, 2008 11:21AM

in my local wamp server i made a database but when i uploaded it to the remote web server.its showing the following message.

"Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/hsphere/local/home/deltatec/deltatec.u226.worldispnetwork.com/db.php on line 2
Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


plz help me as soon as possible

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: toivo (---.nsw.bigpond.net.au)
Date: May 07, 2008 11:47AM

Hi,

Your remote web server seems to be running Unix/Linux. Have you tested the versions of MySQL and the available connection methods in that environment before?

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: sukanta (203.112.218.---)
Date: May 07, 2008 11:50AM

no boss i've not tested before

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: toivo (---.nsw.bigpond.net.au)
Date: May 07, 2008 02:42PM

If you do not know which version of MySQL is installed, tTalk to the people who are maintaining the server, and they may be able to help you.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: sukanta (203.112.218.---)
Date: May 08, 2008 04:19AM

MySQL 4.1.13a-nt this version is running on my local host

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: sukanta (203.112.218.---)
Date: May 08, 2008 01:39PM

hey experts!!!plz give a solution,
im new here i cant connect my database from local host wamp server to the remote host web server.

plz tell me step by step the system to make connection with database.

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: stevenmartin99 (212.129.95.---)
Date: May 08, 2008 01:44PM

you need to know wat version of mysql is on the other server

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: how can i connect to the remote server
Posted by: sukanta (203.112.218.---)
Date: May 11, 2008 04:36AM

finally i did it..

but there is another problem, my exported database from local wamp server is not executing to the web php pg myadmin server,here it showing some error like character 18,19 like this.


so plz boss give a solution what should i change when i'll export the database from the local wamp server for phppgmyadmin.

Options: ReplyQuote


Sorry, only registered users may post in this forum.