Can I restart MySQL engine when WordPress website is live?

I'm dealing with resources processes problems in MySQL engine installed on an Ubuntu server, which hosts a WordPress website.

So, I want to try restarting the service, will using the service mysql restart command will do graceful restart?

Using the restart command accomplish the same as restarting the Ubuntu server?

If not, which is the best way to gracefully restart mysql on an Ubuntu server hosting a WordPress website?

Topic mysql vps Wordpress

Category Web


Yes, service mysql restart (or systemctl restart mysql on more recent versions of Linux) will carry out a graceful shutdown and restart of mysql.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.