Log into your cPanel account.
In the Databases
section, click on the phpMyAdmin
In left side-bar, Click on the expand button
to expand the database like "example".
Under your cPanel username, you can see a list of all databases. Please select an appropriate database which you want to export it to your PC.
Click on the Export
Select SQL format and then click on the Go
SQL file will be downloaded within a few seconds, but If a size is large, then it will take a long time.