# Reinstalling MySQL on a cPanel/WHM server

Source: <https://beta.dedicated.com.tr/en/kb/reinstalling-mysql-on-cpanel>  
Last updated: 2026-11-28

To reinstall MySQL on a server running cPanel/WHM, run this command over SSH:

```bash
/scripts/mysqlup --force
```

To change the MySQL version, see [Upgrading the MySQL version on cPanel](/en/kb/upgrading-mysql-version-on-cpanel).
