Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to connect to a MySQL db via a client on Mac?

I’m used to MS SQL and Management Studio on Windows but got MacBook recently, and appereantly, I don’t have enough RAM for the tasks I need to do on my Parallels Desktop.
Thus, I installed MySQL on my Mac and been able to create a database via MySQL Workbench.
I can see the database exists when I type in

SHOW DATABASES;

However, whenever I want to connect to the localhost server via a client (Sequel Pro), using the same connection informations as I used to Workbench, I get this error message:

MySQL said: Authentication plugin ‘caching_sha2_password’ cannot be
loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so,
0x0002): tried: ‘/usr/local/lib/plugin/caching_sha2_password.so’ (no
such file)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Help would be appreciated.
Thanks!

>Solution :

I’d strongly suggest you to use Docker to run Databases locally instead of installing them.
This gives you lots of advantages (eg: only run it when you need it) and moreover there are plenty of documents around that tells you how to quickly run and connect to it.
For example –> https://dbschema.com/2020/03/31/how-to-run-mysql-in-docker/ (the real first result found duckduckgoing it :))

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading