To connect to MySQL and MariaDB databases on Linux virtual servers, use a tool like MySQL Workbench (cross-platform), or Sequel Pro (Mac OS X). Both are free applications.
Visit MySQL Workbench download page. Select your platform and click the Download button. On the next page, click "No thanks, just start my download" link to start your download. Install as you would other software on your computer.