|
|
#1 |
|
Silver Member
![]() Join Date: Feb 2010
Location: Satellite-Town, Lagos, Nigeria, West-Africa.
Posts: 110
|
Hello friends,
im not that perfect in php yet. However, i encountered a problem: when i connected to database using this- mysql_connect($localhost, $root, $password); i saw an error message that "access denied" and my [default] password is "yes". Please friends, how do i configure it so it runs without hitches. |
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Aug 2010
Posts: 6
|
Are you sure that you've set a password?
If this is a default installation, your details will be "localhost", "root", "" i.e. there is no password by default. mysql_connect("localhost", "root", ""); |
|
|
|
|
|
#3 |
|
Silver Member
![]() Join Date: Feb 2010
Location: Satellite-Town, Lagos, Nigeria, West-Africa.
Posts: 110
|
Thanks bro, you are correct. I have found a way out. My password should have been this: $password = ""; and i wrote this: $password = " "; it has been resolved.
Thanks, Golden Waters |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|