Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Php is not connecting to the database?

We're currently studying databases and we need to connect our website to well, the database. Basically, we need to make a simple but functioning log in/sign up page which can store and retrieve data from our database.

We were given a template to work with, and it works with my classmates. However, it doesn't seem to work with GoDaddy users in class. We've been scratching our heads over it... is there an extra step in developing websites with database functionality for GoDaddy?

Super User IV



I am assuming you are using a cPanel server - do you have the host / port set correctly??


When you run your PHP script do you have any error checks in your code to see why it isn't connecting?

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community