Question

Upgrading Dokku caused me to lose mysql db service

I upgraded dokku from the 3 series to 4. After upgrading my mysql db service is missing. Did I lose all the data from that database, or is there some way I can access it on my system?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @gndo:

@kbhardwaj - First, make sure that your current mysql installation is accessible:

service mysql status   ### should display  that it is running
mysqlshow -u root -p  ### enter dbroot pw,  displays current databases if mysql is running

If the first command above failed, then you may need to check your packages

dpkg -l | grep mysql
## make sure you have a mysql-server package and note the version
dpkg --status mysql-server-YOURVERSIONHERE

View the original comment