how to connect to shared web hosting MySQL / MariaDB

First connect to your hosting server with SFTP / SSH account user name and password,
then run the command:
mysql -u databasename -h databaseHosting -p databasename
eg:
mysql -u dbs1388998 -h db5898879d7.hosting-data.io -p dbs1388998

You may also like...