Ok I wrote:
Wich of the folloing is INSTALLED AT YOUR SERVER:
1. MySQL ODBC 5.1 Driver
2. MySQL ODBC 3.51 Driver
Its all mySQL, but is it ODBC 5.1 or 3.51? Cuz I can't connect to any of them
They answered:
Theres a driver named "mysql" on our webserver, maybe you should try to use that, just like the other thousands os users? It is version 5.1, if you don't know.
Edit:
Btw. They linked to the default way of connecting to mySQL. I run a site with over 1000 users pr. day, but still...
<%
SQLserveradr="[server]"
SQLdatabase="[database]"
SQLlogin="[brugernavn]"
SQLpassword="password"
Set Conn = Server.CreateObject("ADODB.Connection")
conStr = "driver={MySql};server="& SQLserveradr &";database="& SQLdatabase
conStr = conStr & ";uid="& SQLlogin &";pwd="& SQLpassword & ";OPTION=3"
Conn.Open conStr
%>
Edited by mrOkay - 20 October 2011 at 5:37pm