TablePlus / DBngin

DB Engine
https://dbngin.com
958 stars 19 forks source link

Can't access Mysql from terminal #129

Open fachryansyah opened 7 months ago

fachryansyah commented 7 months ago

Please fill out the detail below, it helps me investigate the bug:

  1. Driver (Ex: Mysql 8.0.33):

  2. DBngin build number 6.9 (69)

  3. macOS version 13.4.1

  4. The steps to reproduce this issue

    • Install mysql-client brew install mysql-client
    • start mysql service from dbgin
    • got this error: Screenshot 2023-12-21 at 16 00 41
raphaelseher commented 5 months ago

You need to find your socket file in /tmp folder and use the correct socket. Eg. /tmp/mysql_3306.sock.

Then you can use mysql from terminal like this: mysql -S /tmp/mysql_3306.sock -u root

Also answered here: https://github.com/TablePlus/DBngin/issues/38#issuecomment-625264021