For Managed Servers

This article explains how you can connect to a MySQL database running on your server.

  • Establish an SSH connection to your server.

    You can find the access data in your IONOS under the item MySQL.

  • The following command line provides an example of how to connect to the MySQL database running on your server:

MySQL 5.1
mysql --host=localhost --user=dbo123456789 --password=******** -S /tmp/mysql5.sock db123456789
MySQL 5.5
mysql --host=localhost --user=dbo123456789 --password=******** db123456789

Replace the user, password and database name (dbxxxxxx) with the access data of your database.