Skip to main content

Having trouble with mysql_connect

Comments

2 comments

  • cPanelPeter cPanel Staff
    Hello, Are you sure it was mysql1 and not mysqli ? Is MySQLi installed on the new host? Since you're access level is listed as Website Owner, you should ask your new host what error messages appear in /usr/local/apache/logs/error_log
    0
  • cPanelMichael
    Hello :) Also, make sure you use "localhost" as the MySQL hostname unless you are using a remote MySQL server. Thank you.
    0

Please sign in to leave a comment.