Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting ASP with MySQL

Status
Not open for further replies.

meenakshidhar

Programmer
Oct 19, 2001
77
MY
hi all,
i m getting this error while connecting ASp with Mysql
---------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

---------------

my connection string is
<%
Set pConn = Server.CreateObject("ADODB.Connection")
pConn.open "driver={MySQL};uid=username;pwd=pass;database=db_name;server=ipaddress"
%>
 
you are probably using the wrong driver version. Yours is set for Ver 2.5

driver={MySQL ODBC 3.51 Driver}



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top