MySQL Forums
Forum List  »  Connector/ODBC

ASP and MySQL
Posted by: Stephen Duff
Date: December 01, 2004 01:37PM

<%

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 an error on line adoConn.Open

Error Message:

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

Please help its doing my head in :-)

Options: ReplyQuote


Subject
Written By
Posted
ASP and MySQL
December 01, 2004 01:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.