Need MySQL Help
While I'm not a newbie @ MySQL nor PHP I don't know how to fix an error in Linux.
When I use phpMyAdmin I get the following: ------------------------------------------------------------------------ Welcome to phpMyAdmin 2.3.2 Error MySQL said: Access denied for user: 'root@localhost' (Using password: NO) ------------------------------------------------------------------------ Does anyone know where the config files are for MySQL? Any tips to fix this without ripping my hair out?! If you're wanting to ask how I got this error..... 1. Installed MySQL with Linux install. 2. Newer version released so I downloaded the RPM. I uninstalled the old version and installed the new. 3. Everything's fine. MySQL works but the PHP-MySQL extensions do not. I uninstalled the new version of MySQL and reinstalled the one from my dist CD. PHP-MySQL extensions work now but user problems are now present. That brings me to posting this. THANKS FOR ANY HELP! ::Ross_ |
So did you install phpmyadmin and mysql in root?
#Garry |
Yes, Root. Was that a bad move?
|
Not neccessarily...
Did you log in as root, or just switch to root temporairly via console? Cause you really shouldn't log soley as root... Can you try re-installing it as a normal user, then 'su' when necessary... #Garry |
Logged In. If I did something bad... I plan on reinstalling RH8 clean once I learn the basic do's and dont's.
|
No nothing bad, it's just that root has power over EVERYTHING and if you do something wrong you can get yourself in some trouble :p
Try installing as a normal user... #Garry |
Let me try.... just that the CD-ROM is loud when opening/closing and my mom is trying to sleep! lol. I'm not supposed to be up :D!
|
What I did:
stopped httpd stopped mysqld uninstalled mysql installed mysql start mysqld start httpd -------------------------------------------------------------------- Welcome to phpMyAdmin 2.3.2 Error MySQL said: Access denied for user: 'root@localhost' (Using password: NO) -------------------------------------------------------------------- Same error. I give up. No big deal. I have a new box to be built (a very nice one) next week and is the target linux box. I was just learning on this one. It's 12:30 so I'm off to bed. Thanks |
Ok no worries...
Good night :p #Garry |
|
All times are GMT -5. The time now is 09:07 PM. |