I am trying to migrate from an MS access to MySQL and am having problems. I have an asp pages on my website.
Code:
<% ' Dim SQL_REC, RS_REC, NID, TITLE, POSTED, NEWS_LISTING, SHOW_HL, MyConn_REC, I_REC, SUMMARY
' ------------------------------------------------------------------------------------------------------------------
' DATABASE CONNECTION
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "Driver={MySQL ODBC 3.51 Driver}; Server=231.555.600.43; uid=anothername; pwd=password; database=thename; option=3; port=3306;"
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/example/inc_recent_news .asp, line 41
The code on line 41 is
RS_REC.Open SQL_REC, MyConn_REC
Does anyone know what i need to change in my database connection string above? i;d appreciate if anyone post the code as i should use,
many thanks
Comment