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: General / Classic ASP versions(v3.4.XX)
 Connecting to MySQL Using Server 2003 R2 64Bit
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cafcportal
Starting Member

United Kingdom
4 Posts

Posted - 06 April 2009 :  11:35:15  Show Profile  Visit cafcportal's Homepage
Hi Folks

I have just spent 24 hours trying to get my SNITZ working on my new server.

I am using MySQL 5.1.33
I am using Windows Server 2003 R2 64 Bit
I have the 3.51 64bit ODBC Driver
I have a USER DSN that works (Connection test OK)
I have a SYSTEM DSN that workd (Connection test OK)

The DSN name is called MySNITZ,

strDBType is "mysql"

strConnString = "MySNITZ" '## DSN Does not work.

strConnString = "driver={MySQL ODBC 3.51 Driver};server=localhost;user=*****;password=*****;DATABASE=snitzdb;" '##MySQL w/ MyODBC v3.51 (I have removed the username and password for this post) Does not work.

Error is

The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.

Code : 80004005

Error Description :
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

How can I get my SNITZ up and running on this platform?





Edited by - cafcportal on 06 April 2009 11:38:24

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 April 2009 :  11:53:24  Show Profile  Send ruirib a Yahoo! Message
Have you tried using the DSN?


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

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 April 2009 :  13:17:01  Show Profile  Visit HuwR's Homepage
why not just install SQL Express ?
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 06 April 2009 :  16:24:31  Show Profile
Is your mysql server running? For starters connect from the mysql command line and make sure you can connect with the credentials you're using in your code. The windows ODBC manager for mysql includes ping and testing functions, make sure the DSN is working. Then if it still doesn't work you can start reviewing code.

======
Doug G
======
Computer history and help at www.dougscode.com
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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07