I am uploading a ASP.NET website which us MySQL as database and I am not able to open a connection to database on my server.
The website was working fine on localhost but on server it throws an exception:
The server is provided with MySQL ODBC 5.0 drivers as they say.
Connection string I am using is:
connectionString="driver={MySQL ODBC 5.1 Driver};Server=(local); Database=db_name; Connection Timeout=60; uid=username;pwd=1234;"
Is this the correct way of connecting to database?
Try this (if you havnt checked out the link):