DBngin icon indicating copy to clipboard operation
DBngin copied to clipboard

Can't start mysql

Open mbortnichuk opened this issue 5 years ago • 6 comments

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

  1. Driver (Ex: PostgreSQL 10.0): MySQL 8.0.12

  2. DBngin build number:

  3. macOS version: 10.13.3

  4. The steps to reproduce this issue:

Displays error on launch -> DBngin could not access /Users/Shared/DBngin, please click the help button on the tool bar and fire an issue.

How to fix it?

mbortnichuk avatar May 01 '19 12:05 mbortnichuk

Go to your root in the terminal ( cd ~) and paste this in the

.bash_profile

file ( if there isn't one, create one ) :

# DBngin exports
export PATH=/Users/Shared/DBngin/mysql/8.0.12/bin:$PATH

save and click on start in DBngin. Let me know if it helped you.

ethubert avatar May 02 '19 09:05 ethubert

Hi, I think she got trouble when extracting the MySQL 8. Please follow the instruction below:

  1. Download this file: https://s3.amazonaws.com/dbngin-binaries/mysql/8.0.12.zip
  2. Extract it into the: /Users/Shared/DBngin/mysql/

Now you can start the MySQL 8 engine.

huyphams avatar May 02 '19 09:05 huyphams

Hi! I tried that trick with .bash_profile and it didn't work for me. As for the second solution, when trying to access Shared folder content I get following msg -> The folder “Shared” can’t be opened because you don’t have permission to see its contents. Is there any other ways to fix this problem? :)

mbortnichuk avatar May 02 '19 09:05 mbortnichuk

It seems you need to have admin access to your computer. Is someone else the admin of your computer or are you the only person using it? If it's the latter, you have to give yourself all privileges on this folder using the "chmod" command on the folder.

ethubert avatar May 02 '19 09:05 ethubert

Yep, there is

  1. Download this file: https://s3.amazonaws.com/dbngin-binaries/mysql/8.0.12.zip
  2. Extract it into anywhere and copy the path

vim ~/Library/Application\ Support/com.tinyapp.DBngin/Data/DBEngines.plist

And replace the

<key>Binaries</key>
<string>/Users/Shared/DBngin/mysql/8.0.12</string> 

Replace content of the tag /Users/Shared/DBngin/mysql/8.0.12 with your new path Restart the app and start the engine.

huyphams avatar May 02 '19 09:05 huyphams

running these commands solved it for me sudo chmod -R 777 /Users/Shared/DBngin/ sudo chmod -R 777 /Users/Shared/DBngin/mysql

Robin-Thomas-577 avatar May 07 '20 19:05 Robin-Thomas-577