getting started with mysql
- perj
-
perj
- Member since: Dec. 9, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
"Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole."
I get this message in php myadmin. Obviously i haven't set a password in php.ini, however i can't find exactly where im supposed to do this in the config file. can some1 tell me? thanks.
- Jessii
-
Jessii
- Member since: Feb. 10, 2005
- Offline.
-
- Forum Stats
- Member
- Level 36
- Movie Buff
Where it says password? lol
This is the basic structure for the config file.
$dbhost = 'hostname';
$dbname = 'database name';
$dbuser = 'user name';
$dbpasswd = 'password';
- DFox
-
DFox
- Member since: Aug. 9, 2003
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
If you're logged in as the default user, can't you just modify the MySQL user info via PHPMyAdmin?
I don't believe you would set that in the mysql config file. I think you can use PHPMyAdmin, or run a query.
- perj
-
perj
- Member since: Dec. 9, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
yeh i dont see it. I'm using wamp, if that matters.
The php.ini file is here: kuniforms.com/php.txt
I just found something with username and stuff called ingres.default_user, is that it?
- DFox
-
DFox
- Member since: Aug. 9, 2003
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
At 12/5/06 09:47 PM, perj wrote: yeh i dont see it. I'm using wamp, if that matters.
The php.ini file is here: kuniforms.com/php.txt
I just found something with username and stuff called ingres.default_user, is that it?
Just as I thought... In PHPMyAdmin:
Privileges -> Edit privileges on root, and there is the login info...
- perj
-
perj
- Member since: Dec. 9, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 12/5/06 09:49 PM, DFox wrote:At 12/5/06 09:47 PM, perj wrote: yeh i dont see it. I'm using wamp, if that matters.Just as I thought... In PHPMyAdmin:
The php.ini file is here: kuniforms.com/php.txt
I just found something with username and stuff called ingres.default_user, is that it?
Privileges -> Edit privileges on root, and there is the login info...
i changed the password and now I can't even get into phpmyadmin, it says
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
- DFox
-
DFox
- Member since: Aug. 9, 2003
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
At 12/5/06 10:15 PM, perj wrote: MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
That's supposed to happen. Now just configure the correct login in the phpmyadmin file config.inc.php to match the username and password.
- perj
-
perj
- Member since: Dec. 9, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate


