Can't connect to MySQL server

I’ve tried to connect to MySQL on but there is error. I have tried this connection on Saturday and it was working. Since Monday I recieve that error:
[cloudera@quickstart ~]$ mysql -u retail_user -h -p
Enter password:
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘msitversitycom’ (111)

Thank you in advanced!

Zhivko Krumov


You can connect to mysql in cloudera quickstart vm using below command

mysql -u root -p

Watch below video for more details

Thank you for the provided information.
I’ve manage to log there. But strangely I’ve managed to connect to before and now I can’t but nvm I’ll do my sqoop etc things using that one :slight_smile:
–connect jdbc:mysql://quickstart:3306/retail_db