connect_mysql_api.php modified