Depending on where your dbconfig file is saved, you may want to change:
include ("/dbConfig.php");
to:
include ("dbConfig.php");
If your connection to the database is rejected, it's either your include line, or your sql connect information is wrong.
stoopkid
Junior Poster in Training
90 posts since Sep 2011
Reputation Points: 17
Solved Threads: 16
Skill Endorsements: 0
seems that your problem is that you can't connect with those details, so any calls to mysql_ functions will also throw an error. Check your connection details. Try it from phpmyadmin or your favourite mysql GUI.
**If WAMP shows yellow - it probably means something bad. I use XAMPP, so I can't really comment, but do you have to manually start the mysql server? E.g. by clicking a button?
diafol
Keep Smiling
10,849 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,539
Skill Endorsements: 61
diafol
Keep Smiling
10,849 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,539
Skill Endorsements: 61
OK, I'm still no better off. You're not using a PW, which I believe is the default setting anyway. root is the default username. localhost should be the default host. 3306 the default port.
Did you change any of those settings on WAMP install?
diafol
Keep Smiling
10,849 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,539
Skill Endorsements: 61
Question Answered as of 1 Year Ago by
diafol
and
stoopkid diafol
Keep Smiling
10,849 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,539
Skill Endorsements: 61