MySQL 5.5 -> 5.7 Update problems Help Required
Hello, I am a total idiot and hit update while not understanding how MySQL works, the only thing I can barely figure out is creating subdomains and uploading some files via cpanel. Please help me reverse or finish the update? I just kept hiting continue like an idiot. Here is the end of the log, thanks in advance and please be patient with me:
OS: Cent OS 6.6 (64 Bit)
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
The GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Restarting mysql service.
(XID c4tej7) The "mysql" service is disabled.
(XID nva5ed) "/usr/bin/yum" reported error code "1" when it ended:
Obtained version information from system.
Proceeding with MySQL/MariaDB upgrade despite the following:
Critical: The system failed to query the MySQL server to check for the presence of pre-4.1-style MySQL passwords. ((XID pehg8d) The system failed to connect to the "MySQL" database "mysql" because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))) This issue could also hinder mysql_upgrade's ability to run, which could potentially leave MySQL in an unusable state if you proceed.
Critical: MySQL enables "strict mode" by default as of version 5.7. Strict mode controls how MySQL handles invalid or missing values in data-change statements such as INSERT or UPDATE. Applications not built with strict mode enabled may cause undesired behavior; please verify applications using MySQL are compatible before upgrading. More information about strict mode is available here. Critical: The update could not reach the MySQL server to check for the existence of a database named 'sys'. This issue could also hinder mysql_upgrade's ability to run, which could potentially leave MySQL in an unusable state if you proceed.
OS: Cent OS 6.6 (64 Bit)
- CENTOS 6.10 kvm [vmd6190]
- v86.0.40
-
Is MySQL running? service mysqld status or service mysql status 0 -
The server is seriously out of date as version 86 was end-of-life in April 2021. Based on the errors on the screen, it seems like the update failed. If you check WHM >> Service Status, do you see that MySQL is up and running? 0
Please sign in to leave a comment.
Comments
2 comments