Current time: 05-21-2024, 05:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
Nach Upgrade Access denied for user 'root'@'localhost'
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Nach Upgrade Access denied for user 'root'@'localhost'
Hallo

denke dringend über einen Umstieg auf ein Nachfolgeprodukt nach!

ansonsten:
- du hast die ispcp-Version nicht angegeben.
- hast du das mysql root pw geändert beim debian upgrade? ggf. wieder das alte pw setzen...
- noch besser: nicht den root-user nehmen für ispcp... es gab mal eine Anleitung...
im web-archive ist sie noch:
http://web.archive.org/web/2009061307251...ge_db_pass

einfach kopiert:
******************************************************
How To change the MySQL DB User and/or Password in the ispCP Config

If you only want to change the password: goto step 4.)

Change ispcp db username (eg. “root” → “ispcproot”)
1. Add the new mysql root user

# mysql -u root -p -e "GRANT ALL PRIVILEGES ON *.* TO 'ispcproot'@'localhost' IDENTIFIED BY 'verygoodpassword' WITH GRANT OPTION;"

2. Open the ispcp.conf

# vi /etc/ispcp/ispcp.conf

3. Search the right line and change the username to the new user:

DATABASE_USER = ispcproot

Change ispcp db password
4. Open the ispcp.conf

# vi /etc/ispcp/ispcp.conf

5. Delete your MySQL Password in the Config about line 92 like this:

DATABASE_PASSWORD =

6. Start the ispcp-db-passwd Script

/var/www/ispcp/engine/ispcp-db-passwd

Now type your new MySQL root Password

Please Enter Your New Database Password:
Please Repeat Your New Database Password:
Database Password Updated Successfully!

7. That´s it!

Now the GUI should work again.
09-30-2013 11:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Nach Upgrade Access denied for user 'root'@'localhost' - joximu - 09-30-2013 11:09 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)