Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
1.2k views
by Rookie

I followed the documentation to change the passwords of my PHPMyAdmin by using the following command for the "root" user.

sudo webinoly -mysql-password

But always it returns an error message:

Access denied for user 'root'@'localhost' (using password: YES)

[ERROR] Unexpected error!

Please help to change the password, I have the root and admin user password from the installation part but the "root" user always failed to log in.

The "admin" user is accessible via the password ( Didn't change yet)

See image

https://imgur.com/a/9ExWfhw

by Expert

Please, run: sudo webinoly -verify

Do you see any warning or error?

by Rookie

Yes there are some error please check below:

Verifying integrity of the entire Webinoly system...
(1) Webinoly Integrity Test successful!
(2) NGINX Verification Test successful!
(3) PHP Verification Test successful!
- [ERROR] MySQL Connection to localhost failed! (root)
(4) MySQL Verification Test has failed!
(5) Service Status Verification Test successful!
- [WARNING] Operating System is not updated, 26 updates can be installed immediately.
(6) Operating System Verification Test has some warning messages you should attend!
(7) Additional Tools Verification Test successful!
- [WARNING] Directory permission is not 755 /var/www/22222/htdocs/pma/tmp
- [WARNING] Directory permission is not 755 /var/www/22222/htdocs/pma/tmp/twig
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/colinmollenhour/credis/phpunit_local.sh
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/colinmollenhour/credis/Client.php
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/predis/predis/bin/create-command-test
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/predis/predis/bin/create-single-file
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/predis/predis/bin/create-pear
- [WARNING] File permission is not 644 /var/www/xyxyxy.com/htdocs/wp-content/plugins/redis-cache/dependencies/predis/predis/bin/create-phar
(8) Permissions Verification Test has some warning messages you should attend!
(9) Sites Verification Test successful!
*******************************************************
******** > > > E R R O R < < < ***********
******** System could not work properly ***********
*******************************************************

1 Answer

0 votes
by Expert
The error message is very clear in the verify output.

For some reason the root MySQL user is failing, I don't know why, but in the most typical case, it fails when people manually change passwords.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...