Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Server move connection problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yamaboy
Starting Member

46 Posts

Posted - 23 June 2006 :  13:01:06  Show Profile
I have looked at past topics and still can't figure out why my connection is failing. The error message I get after moving all file and databases from a linux server to another linux server (lunar pages) is;

Error Type:
ADODB.Connection.1 (0x80004005)
SQLState: S Native Error Code: 2002 [TCX][MyODBC]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
inc_header.asp, line 106

I have tried both versions;
strConnString = "driver=MySQL;server=localhost;uid=xxx;pwd=xxx;database=xxx" '## MySQL w/ MyODBC v2.50
'strConnString = "driver={MySQL ODBC 3.51 Driver};option=4;server=localhost;user=xxx;password=xxx;DATABASE=xxx;" '##MySQL w/ MyODBC v3.51

Here is information that may be helpful;

PHP is 4.4.1
mySQL is 4.1.18-standard
--mySQL info is
--Server: Localhost via UNIX socket
--User: xxx@localhost
host has told me that ODBC is v2.5

I tried installing a new forum and new database and still get the same error. To me that tells me my connection string is wrong. I have tried changing permissions and other possible variables, but I still can't seem to connect on the new server.

Any help to get things up and running again would be really appreciated.

Doug G
Support Moderator

USA
6493 Posts

Posted - 24 June 2006 :  00:36:15  Show Profile
What asp emulator are you using on the new host, is it the same as the old server?

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Yamaboy
Starting Member

46 Posts

Posted - 24 June 2006 :  10:51:22  Show Profile
I'll have to find out from the host. According to them, the only difference was the PHP version on the old and new server were slightly different.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 June 2006 :  11:26:53  Show Profile  Send ruirib a Yahoo! Message
I think you need to talk to your host about that error.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 24 June 2006 :  20:44:57  Show Profile
PHP doesn't have anything to do with Snitz. You need asp for Snitz, either from a windows server or using Sun One emulator on *nix. There are other linux asp emulators, like apache:asp, but they don't support Snitz.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Yamaboy
Starting Member

46 Posts

Posted - 26 June 2006 :  10:45:46  Show Profile
I am on the phone with the host now. Just looking at come of the server particulars on my own, I see that .asp is a system defined handler as chiliasp. Does that mean anything to anyone?
Go to Top of Page

Yamaboy
Starting Member

46 Posts

Posted - 26 June 2006 :  11:22:56  Show Profile
Another note. If I decide to go to a windows host with the same ISP, would it be possible to move the database over from mysql to an ms sql version or maybe import the data?

-edit* mySQL is availible on the windows server. Any problems with moving from linux/unix to windows and keeping the database intact?

Edited by - Yamaboy on 26 June 2006 11:33:55
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 28 June 2006 :  01:43:44  Show Profile
Snitz and mysql works for me on an internal LAN.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Yamaboy
Starting Member

46 Posts

Posted - 28 June 2006 :  12:59:44  Show Profile
Thanks for the help. Things are looking good. I moved to a windows server and through some trial and error I was able to import the mysql database (finally, without sql parsing errors) to the new server from linux. My fault for not realizing that windows makes snitz really happy. As soon as the DNS change propigates, all that should need to be done is to re-upload the forum.
Go to Top of Page

optimal
Starting Member

12 Posts

Posted - 15 February 2007 :  03:35:55  Show Profile  Visit optimal's Homepage
quote:
Originally posted by Doug G

PHP doesn't have anything to do with Snitz. You need asp for Snitz, either from a windows server or using Sun One emulator on *nix. There are other linux asp emulators, like apache:asp, but they don't support Snitz.




I just signed up for a month's trial with a linux host that has Red Hat Fedora Core 4 OS and appache::asp installed. It is a virtual dedicated server so I can load anything I want but it is up to me to support whatever I load. Question is do you know if I can load and run the Sun One emulator with apache::asp already installed without having conflicts with the double installation?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 15 February 2007 :  04:22:05  Show Profile  Send ruirib a Yahoo! Message
Sun One should have no relation with apache::asp, AFAIK.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07