PHP can't reach MySQL server

Username (e.g. epiz_XXX) or Website URL

epiz_32726855

Error Message

Deprecated : mysql_select_db(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/vol17_2/epizy.com/epiz_32726855/htdocs/submit_cookies.php on line 17

Warning : mysql_select_db(): No such file or directory in /home/vol17_2/epizy.com/epiz_32726855/htdocs/submit_cookies.php on line 17

Warning : mysql_select_db(): A link to the server could not be established in /home/vol17_2/epizy.com/epiz_32726855/htdocs/submit_cookies.php on line 17

Warning : mysql_query() expects parameter 2 to be resource, object given in /home/vol17_2/epizy.com/epiz_32726855/htdocs/submit_cookies.php on line 18
Could not get data: No such file or directory

Other Information

When going to sql203.epizy.com is says the address is unreachable.

Please use the mysqli extension or the PDO extension.

6 Likes

How do I use it? Do I just put an i after every function that references mysql (for example mysqli_query())?

Kind of

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.