![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SUSE9.1 Peculiar Gigabit Lan performance. | Mark Ward | Linux | 0 | 01-08-2005 08:13 AM |
| How Do I Reset An Ssh Port | PCTECH | UNIX for Dummies Questions & Answers | 3 | 01-04-2005 02:57 PM |
| Suse9.0 + Apche2 | hiepng | Linux | 0 | 07-23-2004 10:56 AM |
| I want to reset my workstation! | Sotelo_27 | UNIX for Dummies Questions & Answers | 4 | 09-16-2002 11:33 AM |
| Tape Reset????? | rrivas | UNIX for Dummies Questions & Answers | 1 | 09-13-2002 03:39 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
MySQL4 config messup on Suse9.1 How to reset?
I'm trying to run phpBB2 software on Apache2, all was fine with setups except I had no password protecting my database.
After researching how to do it, I attempted to set password "freddy" to root (for obvious reasons "freddy" isn't the actual pw I used). I now can't login to MYSQL4 using root at all, I have to use "mysql -u freddy". Then I'm logged in as "freddy@localhost" but still with no password. Logging is as root I get:- # mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Logging in as "Freddy" I get:- # mysql -u Freddy Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 to server version: 4.1.14-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> I've tried reinstalling MYSQL4, but the config data remains. Could anyone help me remove the user "freddy" and add a password to protect the root login? I'd be happy to delete all & start again as the db currently contains no data at all. Many thanks, Mark. Last edited by Mark Ward; 10-01-2005 at 05:09 AM. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Solved my own problem so thought I'd post solution.
#mysql -uroot =p" mysql Then enter a password and all is fine again. I found this solution in one of the replies to This Thread Mark. |
|||
| Google The UNIX and Linux Forums |