We are a free/open source project. We have a CentOS 7 VM and it needed some software updated because the base CentOS 7 is stuck at PHP 5.4 and MediaWiki 1.26. We enabled Software Collections (SCL), which gains access to Apache 2.4, PHP 7.1 and MariaDB 10.2 (and friends).
We are having trouble with the MariaDB 5.5 to 10.2 upgrade which is needed for MediaWiki. We are following mariadb.com’s Upgrading from MariaDB 5.5 to MariaDB 10.0. The sticking point is Step 6:
6. Run mysql_upgrade
Running the script results in:
# /opt/rh/rh-mariadb102/root/usr/bin/mysql_upgrade -u root -p Enter password: xxxxxxxxxxxxxxxxxxxxxx Version check failed. Got the following error when calling the 'mysql' command line client ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) FATAL ERROR: Upgrade failed
We know we have the correct password for the database because we had to recover it earlier in the process. Its a simple copy/paste into the terminal so there are no typos.
We have verified the service is enabled, and its is running:
# systemctl status rh-mariadb102-mariadb.service * rh-mariadb102-mariadb.service - MariaDB 10.2 database server Loaded: loaded (/usr/lib/systemd/system/rh-mariadb102-mariadb.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2017-12-21 14:06:26 EST; 8min ago ...
If someone could point out the problem we are having and how to fix it, we would be eternally grateful.
Thank you in advance.
Here are the prelude steps. They are my field notes for backtracking in case of problems. The steps consist of stopping 5.5 database, writing all data via
innodb_fast_shutdown = 0, removing the old 5.5 software, and installing the new 10.2 software.
# https://mariadb.com/kb/en/library/upgrading-from-mariadb-55-to-mariadb-100/ # https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux systemctl stop mariadb.service # Recover root password with 'mysqld_safe --skip-grant-tables...' process yum remove mariadb yum install rh-mariadb102 /opt/rh/rh-mariadb102/root/usr/bin/mysql_upgrade -u root -p # The step above failed. Reboot the machine systemctl enable rh-mariadb102-mariadb.service systemctl start rh-mariadb102-mariadb.service /opt/rh/rh-mariadb102/root/usr/bin/mysql_upgrade -u root -p # The step above failed. Reboot the machine
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!