I have copied a classic asp website to the new Azure websites, and was trying to get it to connect to a remote MySQL database (remote being not hosted on Azure). I am getting a internal server error message, and the detailed logs seem to point to an issue with my connection string.
The current string is setup as below:
database_string = "Driver={mySQL ODBC 5.1 Driver}; Server=server.com; Port=3306; Option=0; Socket=; Stmt=; Database=mydb; Uid=user; Pwd=password;" and the ADODB connection is setup like such; Set area_rec = Server.CreateObject("ADODB.Recordset") area_rec.ActiveConnection = MM_database_STRING
I am having a hard time seeing the specific error, but a couple questions if anyone could provide some guidance.
- I am assuming remote databases are supportable in the first place
- Is the connection string correct?
- Do I need to setup a linked resource
- If I finally get it all ported to SQL Azure, any issue with using ADODB recorsets?
Thank you much for any help, I have struggled with this for a while.