Current time: 04-17-2024, 02:00 AM Hello There, Guest! (LoginRegister)


Post Reply 
Nach Upgrade Access denied for user 'root'@'localhost'
Author Message
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #1
Nach Upgrade Access denied for user 'root'@'localhost'
Hallo Leute,

folgendes Problem:
Nach einem Upgrade vom Debian wurde auch MySQL Aktualisiert. Datenbanken usw. sind da und laufen. Wenn ich mich jedoch nun ins ispcp einloggen will, erhalten ich die Meldung

Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)


Wie/Wo kann ich das neue Root MySQL Passwort eintragen damit es wieder läuft?

Danke
09-28-2013 07:16 PM
Find all posts by this user Quote this message in a reply
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
ciscllc Offline
Newbie
*

Posts: 9
Joined: Jul 2008
Reputation: 0
Post: #3
RE: Nach Upgrade Access denied for user 'root'@'localhost'
Ich würde dir i - ms cp empfehlen.

- Schnelle aktive Community, letzte RC vom 10.10.2013!
- HowTo's für den Umstieg

Es ist zwar schade um ispcp, aber so ist der Weg von VHCS wohl. The Road goes on!
(This post was last modified: 10-12-2013 07:07 AM by ciscllc.)
10-12-2013 07:06 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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