MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 1st, 2004, 01:18 PM
StephenDuff StephenDuff is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 StephenDuff User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 sec
Reputation Power: 0
ASP and MySQL help!

Could any one please help?

I have installed MySQL and MyODBC successfully.



If i try to create a system DSN and test it the following message appears:

[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10022)



If I try to use the DSN in the code to connect to thye database I get the following error:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10022)

Can anyone please help it would be very much appreiciated

Many Thanks

Reply With Quote
  #2  
Old December 1st, 2004, 01:34 PM
StephenDuff StephenDuff is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 StephenDuff User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 sec
Reputation Power: 0
ASP and MySQL help

The code is simple

<%
dim adoConn
set adoConn = Server.CreateObject("ADODB.Connection")
adoConn.Open "DSN=MySQL_dsn"
if adoConn.errors.count = 0 then
response.write "Connected Successfully!"
end if
%>

get the error on the adoConn.Open line

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > ASP and MySQL help!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway