By shehethey
My website keeps going down because of MySql which is running on localhost does not have enough computing power to connect to the website. I have increased the ram by resizing the database but that only worked for a day. I have created a database cluster with DO and once I can get into the database on localhost I will migrate it.
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!
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.
Hi @shehethey,
I recently posted an answer on how to use mysqltunner in order to optimize your MySQL database, you can take a look at the instructions here:
Regarding the migration of your database to a Managed MySQL Database, you could either use a tool like DBever or mysqldump in order to backup your database first and then import it to your Managed MySQL Database:
https://www.digitalocean.com/docs/databases/mysql/how-to/import-databases/
Hope that this helps! Regards, Bobby
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
