I'm trying to run some SQL code for my uni at the moment (we're using MySql), but whenever I try to run anything I get a single line error reading:
[2021-08-17 11:26:19] java.net.ConnectException: Connection refused (Connection refused).
I'm running an m1 MacBook pro. Any ideas? I've tried to look at debugging stuff, but this is my first attempt at databases, and everything is just jibberish to me, so any help would be appreciated.