prince69's avatar

How to access MySql into mac os using Laravel Herd?

Recently, I moved from Windows to macOS. I’ve installed Laravel Herd on macOS, and my project is working perfectly. However, I can’t access my SQL data. On Windows, I used phpMyAdmin to access the data, but on macOS, I don’t know how to do that. In Herd, there is an option for a database with Adminer, but it keeps reloading every second continuously. Can anyone tell me how to access MySQL on macOS?

0 likes
5 replies
tykus's avatar

You can install a GUI such as TablePlus or Sequel Ace and make a new connection with the DB_* credentials from you application's .env file.

Tray2's avatar

Or run this from the terminal mysql -S /tmp/mysql_3306.sock -u root

prince69's avatar

@Tray2 After run this command in terminal it says "zsh: command not found: mysql"

Please or to participate in this conversation.