I'm new to SQL (I don't know anything). I tried using DataGrip as it seems like a good tool. However, when I created a new Data Source and made it MySQL, when I tried running it it gave me:
java.net.ConnectException: Connection refused: connect.
When I pressed the Test Connection it gave me an error too.
What can I do to fix this?