Skip to content
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

Issues running clamp after homebrew update #45

Open
dominicpedro opened this issue Sep 28, 2019 · 3 comments
Open

Issues running clamp after homebrew update #45

dominicpedro opened this issue Sep 28, 2019 · 3 comments

Comments

@dominicpedro
Copy link

Since homebew updated yesterday, I am now getting an auth error when creating a new clamp install

ERROR 1698 (28000): Access denied for user 'root'@'localhost'

I believe mariadb now prevents running as root. Not sure if anyone else is getting this issue.

Any help would be greatly appreciated

@rqelibari
Copy link
Collaborator

Hi @dominicpedro,

can you tell a bit more about your system? What version of macOS or MacOS X are you running clamp on?

@jide
Copy link
Owner

jide commented Oct 28, 2019

Yeah, it seems Mariadb has changed a few things about root user. It seems it could work with passing -u root to the mysqld command, but another error is thrown: unknown variable 'defaults-file=/dev/null'.

As a workaround, you can install and use an older version of mariadb, and edit the clamp config file after having erased the .clamp folder :

rm -rf .clamp
brew install mariadb@10.0
clamp config write

And replace $(brew --prefix mariadb) with $(brew --prefix mariadb@10.0) in clamp.json.

@dominicpedro
Copy link
Author

dominicpedro commented Oct 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants