If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Error when moving guestbook  XML
Forum Index » Support Forum
Author Message
Jan Ove
Newbie

Joined: 17/08/2004 07:59:30
Messages: 2
Offline

Hello,

I am not a programmer, but i have try too move mye guestbook from a server too another. I get an error, so i hope someone here can help me

Here is the message i get:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /hsphere/local/home/bangkok/bangkok.no/gjesteboken/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Date : Tue, August 17, 2004 07:53:53
IP : 212.33.129.226
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Referer : http://www.bangkok.no/bangkokmeny.htm
PHP Version : 4.3.8-dev
OS : FreeBSD
Server : Apache/1.3.31 (Unix) mod_ssl/2.8.17 OpenSSL/0.9.7b FrontPage/5.0.2.2635 PHP/4.3.8-dev mod_throttle/3.1.2
Server Name : bangkok.no
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Did you do a backup of your SQL database and transfer it to the new server?

As to your error you need to change the information in admin/config.inc.php to reflect the MySQL server information on your new server.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Jan Ove
Newbie

Joined: 17/08/2004 07:59:30
Messages: 2
Offline

Carbonize wrote:Did you do a backup of your SQL database and transfer it to the new server?

As to your error you need to change the information in admin/config.inc.php to reflect the MySQL server information on your new server.


No, i did not take backup of my SQL database, but i get a databasedump from my old host. May it will help?

I am sorry, but i dont undertand how i can get back the guestbook, so i have to get someone to help me.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The error message you posted is saying that the info you supplied about your MySQL server is wrong. Check you have the right server, username and password in the config file.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum