If any try to update MySQL 5.6.x on a Debian server with Directadmin fails, and you see that download of an archived file can not succeed due to the fact of the missing file:
Failed to download http://files.directadmin.com/services/all/mysql/debian/64-bit/mysql-5.6.34-linux-x86_64.tar.gz. Exiting...
Here is a way on how to solve it!
Run the following commands as root in a console in order to upgrade MySQL 5.6 (as well as any other version) on a Debian server:
cd /usr/local/directadmin/custombuild ./build update ./build set mysql_force_compile yes ./build mysql
After compilation ends and installation completes (it might take a while, so be patient). Run this command to check version:
mysql -V
You can see an output similar to this one:
mysql Ver 14.14 Distrib 5.6.34, for Linux (x86_64) using EditLine wrapper
or run this:
./build versions | grep -i mysql
You can see an output similar to the following:
Latest version of MySQL: 5.6.34 Installed version of MySQL: 5.6.34
You've got it now! MySQL version upgraded. And here comes an alternative solution (if you want it of course)!
Run these commands to replace MySQL with MariaDB on a server with Directadmin and CustomBuild 2.x:
cd /usr/local/directadmin/custombuild ./build update ./build set mysql_force_compile no ./build set mysql_inst mariadb ./build set mariadb 10.0 ./build mysql
When checking a version you should see something similar to this:
mysql Ver 15.1 Distrib 10.0.27-MariaDB, for Linux (x86_64) using readline 5.1
That's it. Usually no issue should appear when you use CustomBuild to install software and upgrade its versions. If for any reason you hesitate to do it yourself drop us a message. We will be happy to offer to you our services and upgrade everything you might need ourselves. Feel free to contact us now to get a professional administrator to work on your server.