$1 hosting

Manage MySQL services through WHM

Manage MySQL services through WHM

In today’s blog we are going to discuss about MySQL Services in WHM/cPanel. It provides various tools for managing the MySQL databases on the server. You can also perform the various operations like how to manage MySQL user passwords, how to change the Root MySQL Password, and repair MySQL database through cPanel also. Today we will see how to perform these various operations through WHM. So first,

Step 1 – Log in to WHM.

  • Manage MySQL user passwords in WHM

There is a feature in WHM that allows you to manage all the MySQL passwords on your system. This is useful because you don’t need to know an existing password to change it to a new one.

This tool will allow you to change the passwords used by any system programs that need a database, such as roundcube.

Step 1 – Go to the ‘SQL services’ menu.

Step 2 – Click ‘change MySQL User Password’.

Step 3 – Select the MySQL user from the list for system services. The username should reflect the application that uses it. Enter and confirm a new password or use the password guarantor. Click use password.

Step 4 – When finished click ‘Change Password’. A confirmation message will appear.

That’s it! The user’s password has been changed.

You should now know how to manage MySQL user passwords in WHM.

  • How to change the Root MySQL Password

When cPanel/WHM is setup, your system MySQL password is randomly generated. If you ever need it you can change it to something you will know.

Step 1 – Go to ‘SQL Services’ in the WHM menu.

Step 2 – Click ‘MySQL Root Password’.

Since this password can be used to gain access to every database on your system, you should set this to something that is very hard to guess. Preferably, use the password generator.

Step 3 – Enter and confirm the new password or generate one. If you want you can change the password length to any other size. Take note of the password and store it in a safe place. Finally click ‘Change Password’. The Root MySQL password should have been changed successfully.

You now know how to change the root MySQL Password in WHM and How to reset it if necessary.

  • How to Repair MySQL Database in WHM

Occasionally, a MySQL database can become corrupted.  This can be fixed from a number of places including cPanel, PHPMyAdmin as well as WHM.

Step 1 – Scroll down in the WHM menu to ‘SQL Services’.

Step 2 – Click ‘Repair a database’.

Step 3 – Select a database from the list.

Step 4 – Then click ‘Repair Database’.

That’s it! The database has been checked for problems and should have been repaired, if necessary.

You now know how to repair a MySQL databases in WHM.

Visit: Hostripples!


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

1 week ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

2 weeks ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

3 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

4 weeks ago

Explained: Difference between Nameservers Vs. DNS

The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…

1 month ago