I'm new to these things, I'm familiar with the command lines and the SQL commands. I am currently working on a MySQL database that I have installed on a Linux server (Ubuntu Server) remotely outside my city.
In the office I use a macOS machine to develop applications and manage the server. Currently I move data to and from my computer and server using the scp
command, with which I load any SQL scripts to update the remote database and so on.
We are recently using DataGrip, I would like to configure it, but I can not.
Can someone kindly explain to me a simple configuration procedure?
Currently I know:
the listening port used by MySQL, which is 3306
the IP address of the remote server
the login username and password
I enter this information, but DataGrip can't connect. How can I check what's wrong? How can I understand what I'm doing wrong?
Sorry for my ignorance.
I tried to connect in two ways, as shown in the following two figures.
I tried also through terminal: