Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 10:01:45

Author Topic: Access denied for user 'root'@'localhost' (using password: YES)  (Read 11393 times)

0 Members and 2 Guests are viewing this topic.

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Some strange things happened few hours ago.
I do can connect to mysql from console "mysql -u root -p" but when I do "sh /script/cleanup" I get following errors:
Code: [Select]
...
Update Kloxo database
- Update process
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
...
- Fix mail-all services
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
...

When I try "sh /script/reset-mysql-root-password <SomeNewPassword>" I get
Code: [Select]
Stop MySQL service...
MySQL ROOT password reset...
Start MySQL service...
191119 03:49:37 mysqld_safe A mysqld process already exists

I also tried to change password using that post https://forum.mratwork.com/kloxo-mr-releases-and-announcements/(tip)-reset-password/ but still same errors.

That error "Access denied for user 'root'@'localhost'" I also receive when I  do "sh /script/fixmail-all" and "sh /script/fixvpop" and some actions from the panel.

How to fix that?

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
vi /root/.my.cnf

[client]
user="root"
pass="password"

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.059 seconds with 21 queries.

web stats analysis