MySQL Forums
Forum List  »  PHP

Connection To GoDaddy MySQL Fails with 500 Error
Posted by: David Sampson
Date: April 23, 2018 07:36PM

I am attempting to connect to GoDaddy's MySQL (5.5) using PHP (5.6). This attempt returns a 500 Error to my browser. I am able to connect to this same MySQL database using MySQL Workbench. From this, I conclude that the problem is with the syntax I am using for the connection.

I have tried both:
mysqli_connect($host, $dbuser, $dbpass, $dbname); and
new mysqli($host, $dbuser, $dbpass, $dbname);

I have researched through the documentation and viewed Lynda.com's PHP/MySQL videos with no idea a possible solution.

Any hints or insights would be greatly appreciated.

Options: ReplyQuote


Subject
Written By
Posted
Connection To GoDaddy MySQL Fails with 500 Error
April 23, 2018 07:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.