While using MySql database you will have to change the connection with the help of MySQLConnector.
Your jquery code will still remain the same, just the connection string and code behind will change.
MySql Connection String
Below is the connection string to the MySql Database.
<connectionstrings>
<add name="constr" connectionstring="Data Source=localhost;port=3306;Initial Catalog=SampleDB;User Id=abc;password=pass@123" />
</connectionstrings>
Namespaces
You will need to import the following namespaces.
using System.Data;
using System.Configuration;
using MySql.Data.MySqlClient;
Please refer here for full details:
http://www.aspsnippets.com/Articles/Use-and-connect-to-MySQL-Database-in-ASPNet-Application-using-MySQLConnector.aspx[
^]