https://www.ovipanel.in/tutorials/database/mysql-database Below are the three methods we can connect the MySQL using PHP 1. MySQLi Procedure Local Mysql Connection
ii) MySQLi
iii) PDO i) MySQL mysql_connect() function is helpful to open the connection in MySQL. Earlier PHP versions only used this function. Till 5.6 PHP version, this function working fine but PHP 7 version that function was deprecated due to security issues