# How do I connect to my MySQL server?

https://www.seturack.com/en/knowledgebase/article/how-do-i-connect-to-my-mysql-server

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "MySQL is ready". The page refreshes itself.
3. Copy the details from the **Connection address**, **Login** and **Password** rows.

## Connecting

From the command line:

`mysql -h IP -u yonetici -p uygulama`

Installation prepares a database called `uygulama`. The `yonetici` login has full rights, so it is a good idea to create a separate user for your app. The version is MySQL 8.4 LTS.

## Security

- Database port **3306** is open to the internet. To let only your own servers connect, limit it in the firewall: `ufw delete allow 3306/tcp`, then `ufw allow from YOUR_IP to any port 3306`.
- The server supports TLS with a self-signed certificate. Turn TLS on in your client.

**No server yet?** [Order a server with MySQL installed](https://www.seturack.com/en/mysql-vps): you choose the size and pay for what you choose.
