How to remotely connect to a MySQL server?

We provide the ability for users to connect remotely to a MySQL database. To do this, when creating a database in the hosting control panel ISP Manager -> Main -> Databases, select the "Remote access" option:

It is also possible to set up remote access for an existing database. To do this, go to the "Databases" section -> select a database -> click the "Users" button:
...Select a user -> click the "Edit" button and set the "Remote access" option:
...And click OK. To connect to the MySQL server using the command line, enter the following command in a terminal emulator: [quote]mysql -h domain.com -u example_user -p[/quote] where -h is your domain name, -u database user, -p prompts you to enter a password for the database user. You can also connect directly to the required database: [quote]mysql -h domain.com -u example_user -p example_db[/quote] where example_db at the end of the command is the name of your database.