New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

MySQL Manager in CWP not working

Started by mabdala68, October 24, 2024, 05:52:06 AM

Previous topic - Next topic

Starburst

What do you get when you run:
mysql -V

Please post it here.

mabdala68

mysql -V
mysql  Ver 15.1 Distrib 10.11.9-MariaDB, for Linux (x86_64) using readline 5.1

Starburst

Try running:
mysql_upgrade --force

Then:
sh /scripts/mysql_fix_myisam_tables


If that fails, reimage it to the basic AlmaLinux 9.4, and leave it.
Sen me a PM with the IP & root PW, and I'll login and get the system installed and updated (No I'm not going to charge)

mabdala68

 mysql_upgrade --force
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed

Starburst

Since you have client data already, the only thing I could suggest if to open a paid support ticket with CWP, it's $7.49 for a one-time support, and see if they might be able to login and fix whatever has gotten corrupted at this point.

Here is the link:
https://support.centos-webpanel.com/index.php?rp=/store/support-onetime

Hopefully they might be able to get it sorted out for you.

cyberspace

#20
Quote from: mabdala68 on October 28, 2024, 08:07:27 PM
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed

Run:

ls -ld /var/lib/mysql
ls -l /var/lib/mysql


in shell as root and show output.

Anyway, it doesn't look like CWP problem.

Moreover, to update the database of MariaDB 10.6+ the following command must be executed:

mariadb-upgrade

Run it and look for result.