One tool you can use to remotely connect to the databases on your shared, VPS, or Dedicated hosting account is MySQL Workbench. 

MySQL Workbench is a free tool you can use to connect to your server databases from your personal computer. 


MySQL Workbench can be downloaded for free at the following link: 

https://dev.mysql.com/downloads/workbench/ 


Note: Select accordingly to your terminal's OS


Once you have downloaded the installer and proceeded with the installation, go to program search MySQL. followed by clicking on MySQL Workbench 8.0 CE.



As refer to the below screenshot, click on Database > Connect to Database. proceed with the details to connect to the database:


Connection method: Standard (TCP/IP)

Hostname: *The hostname of the DB server*

Port: 3306

Username: *The DB assigned username*

Password: *The DB assigned username password*