I have two machines, one local (mine) and one server... both of them have MySQL installed, but for some reason they use different MySQL versions, although the installation process was exactly the same.
When I run mysql --version in my machine I see:
mysql Ver 8.0.18-0ubuntu0.19.10.1 for Linux on x86_64 ((Ubuntu))
But in my server I see:
mysql Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using EditLine wrapper
Because they are different, I can't restore the dump of one into the other. Would it be possible to specify a version when installing mysql?
Thank you.
I believe what your looking is how to install an specific version of a package using apt, right?
Here an answer:
https://askubuntu.com/questions/428772/how-to-install-specific-version-of-some-package
Another way is installing downloading from mysql website:
https://dev.mysql.com/downloads/mysql/5.7.html
Version of your serverhttps://dev.mysql.com/downloads/mysql/
Latest version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With