Hello, my mysql got replaced with mariadb, trying to install mysql-server gives me that:
root@BananasOnFire:~# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.2:i386 mariadb-server-10.2
E: Package 'mysql-server' has no installation candidate
root@BananasOnFire:~#
going to: bananasonfire.tk/phpmyadmin says:
Not Found
The requested URL /phpmyadmin was not found on this server.
Apache/2.4.18 (Ubuntu) Server at bananasonfire.tk Port 80
I lost all my databases :(
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
May i know which distro/version is running?
Try to search for the package using apt-cache and install.
$sudo apt-cache search mysql | grep mysql-server
Running this command:
sudo apt install mariadb-server
restored everything back to normal. I can log in to mysql PHPMyAdmin, I can work with my WordPress blogs, and everything’s fine - with mysql! I’m confused. I wish someone had warned me that mariadb was going to replace mysql.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.