Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/2014/connect_to_mysql.php on line 18

Warning: mysql_connect(): No such file or directory in /var/www/html/2014/connect_to_mysql.php on line 18
could not connect to mysql