-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open Terminal not working even after exporting DBngin to PATH #38
Comments
I have the same issue:
how ever, its already adde and sourced. |
Having the same issue. There are no other instructions on what to do with it. |
Yes, is there any solution to fix this issue? |
You can connect with port @kpysanyi if you want to connect with socket, you can lookup the correct socket (with port) in /tmp |
Is this really working? I follow those steps:
Any thoughts about this? |
Hi @zisiszikos you can connect using the full path comand: |
Thanks! It works with the socket parameter. But there is another thing, that I don't know if it is my terminal problem or DBngin problem actually.
It works, but as you can see the command is incorrectly written. Just confirm please if this a global problem or it is just my terminal. And of course it would be very nice if there was an option to choose which terminal is going to open. 😄 Thanks. |
Ah yeah, I've fixed it 😄 |
I'm still experiencing this issue. Running |
We can create many MySQL versions in DBngin, so it's not possible to use the same socket path for all versions. The current solution is add the port suffix to the local socket. |
DBngin supports both socket and port, however, |
Adding function to
|
I use oh-my-zsh and I added an alias to make it easy. |
This worked, Thank you. |
Just stating for everyone's quick reference that to avoid defining aliases you can instead export an environment variable. Just include line |
Please fill out the detail below, it helps me investigate the bug:
MySQL 5.7
version 1.1(20)
10.14.6
I have followed the instructions that appear in a dialog when you do 'command T' or press the console button "Copy this content into your ~/.bash_profile". I refreshed the bash profile and it appears to be correct. When I do an 'echo $PATH' in my terminal I have:
/Users/Shared/DBngin/mysql/5.7.23/bin:/Users//.nvm/versions/node/v13.0.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
You can see the default path, along with nvm along with the DBngin path.
But when I go back into DBngin, it still gives me the same dialog window with the instructions to "Copy this content...etc", and no terminal.
If I simply open the terminal and do a 'mysql -u root' with the DBngin instance running I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
So first DBngin does not want to open the terminal window from within the application and second the mysql symlink seems to not work anyway from with the cli.
I do like this software and want to avoid having to use heavy stuff like Homebrew, Vagrant or Docker, but I also want to be able to access stuff I would normally when developing for PHP frameworks like Drupal or Symfony. Any advice would be welcome!
The text was updated successfully, but these errors were encountered: