Hi All
I have got a web site running OK for 3 years using a DSN to connect to a mySQL database. I am no tying to connect DSNless, but get "500 - Internal server error." NO other message. Can any body see what I am doing wrong! The second line worked untill yesterday when my hosting company "UPGRADED" my hosting package forcing me to go this route (which I should have done ages ago).
I have got a web site running OK for 3 years using a DSN to connect to a mySQL database. I am no tying to connect DSNless, but get "500 - Internal server error." NO other message. Can any body see what I am doing wrong! The second line worked untill yesterday when my hosting company "UPGRADED" my hosting package forcing me to go this route (which I should have done ages ago).
Code:
set DBconn=server.createobject("adodb.connection")
'DBconn.open "dsn=someDSN"
DBConn.open "driver={MySQL ODBC 3.51 Driver};server=123.345.789.123;uid=userID;pwd=password;DATABASE=PoyntonDB;"