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!

ASP / MySQL / Microsoft.Jet.OLEDB.4.0

Status
Not open for further replies.

yesudoo

Programmer
Apr 20, 2011
2
Hello,

I am banging my head against a brick wall with this.

I am using ASP - wanting to connect to a MySQL database using Microsoft.Jet.OLEDB.4.0.

This is the code I have - but am not able to make the connection with the database - what am I missing? Any help greatly appreciated!

--------
sConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=213.171.200.66;Jet OLEDB:System Database=test;User Id=testadmin;Password=testing17;"

Set Conn = Server.CreateObject("ADODB.Connection")

Conn.Open(sConnection)
--------
 
Jet is for connecting to Microsoft databases not MySql.


You need to install the MySql ODBC driver

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Thanks Chris - I had been mis-advised.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top