MySQL Manager in CWP not working issues:
- list of databases is not shown
- can't create new database
- can't create new user
Using... AlmaLinux release 8.10 (Cerulean Leopard) con 10.11.9-MariaDB
Log error : Invalid database response: ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)
root Its OK !
SHOW GRANTS FOR 'root'@'localhost';
+----------------------------------------------------------------------------------------------------------------------------------------+
| Grants for root@localhost |
+----------------------------------------------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` IDENTIFIED BY PASSWORD '*111111111111111111111111111111' WITH GRANT OPTION |
| GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION |
+----------------------------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.000 sec)
Have an idea ?? I saw
https://wiki.centos-webpanel.com/mysql-manager-not-working , But I don't know what to check or do to fix it.
Most common issues are that you have added invalid config into mysql config files.
You can check this from the command line by using one of the following commands
mysql --version
mysql Ver 15.1 Distrib 10.11.9-MariaDB, for Linux (x86_64) using readline 5.1
mysql -e "show databases;"
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
For MariaDB which is default with CWP please note that you need to add config into file
/etc/my.cnf.d/server.cnf under [mysqld]
What should I do?