8- Connecting to MySQL

Hi guys, im on this tutorial and when i install mySql i am not asked for an sql password like mosh is in the video. I went along with the install anyway and then after downloading datagrip i tried to test the connection but i get the following error:

Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Did anyone else get this? Im on a mac