I have an asp news website which used an MS Acess database. The website has a config.asp which is where the order to the database originates,
I have to move to MySQL but am having trouble. I used Bullzip which didn't quite transfer all the files, and then tried Data Doctor Ms Access to MySQL, when i check with a GUI client it looks like the files have been transferred.
The problem is that the pages return an error on the web,
The publishing software tells you to amend the database connection string in the config asp file and a few other minor changes, i did all that,
then it returns an error from another include page
I seem to connect OK, using this
but the page on the web says this line of code (not in the config.asp ) returns an error
any tips as what is causing this? would appreciate some responses, i'm not html literate, so pls keep it simple:)
many thanks
I have to move to MySQL but am having trouble. I used Bullzip which didn't quite transfer all the files, and then tried Data Doctor Ms Access to MySQL, when i check with a GUI client it looks like the files have been transferred.
The problem is that the pages return an error on the web,
The publishing software tells you to amend the database connection string in the config asp file and a few other minor changes, i did all that,
then it returns an error from another include page
I seem to connect OK, using this
Code:
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "Driver={MySQL ODBC 3.51 Driver}; Server=MYSQLSERVERADDRESS; uid=USERNAME; pwd=PASSWORD; database=DATABASENAME; option=3; port=3306;"
Code:
RS_SIDE.Open SQL_SIDE, MyConn_SIDE
many thanks
Comment