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

When running sudo make install it occurred an error #41

Open
ScrapW opened this issue Nov 14, 2019 · 1 comment
Open

When running sudo make install it occurred an error #41

ScrapW opened this issue Nov 14, 2019 · 1 comment

Comments

@ScrapW
Copy link

ScrapW commented Nov 14, 2019

mysql -u root < create.sql
ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY 'awoo'' at line 1
make: *** [Makefile:9: install] Error 1

@ghost
Copy link

ghost commented Nov 15, 2019

In recent versions MySQL started to disallow automatic user creation with GRANT query, so you need to create user manually.

You can either downgrade your MySQL version or replace line 3 in create.sql with this:

CREATE USER awoo@'%' IDENTIFIED BY 'awoo';
GRANT ALL ON awoo.* TO awoo@'%';

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

1 participant