Answer the question
In order to leave comments, you need to log in
Why can't vagrant give normal permissions to Mysql users?
in vagrant config:
mysql -uroot <<< "CREATE USER 'user'@'%' IDENTIFIED BY '12345'"
mysql -uroot <<< "CREATE USER 'user'@'localhost' IDENTIFIED BY '12345'"
mysql -uroot <<< "GRANT ALL PRIVILEGES ON *.* TO 'user'@'%'"
mysql -uroot <<< "GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost'"
mysql -uroot <<< "FLUSH PRIVILEGES"
SHOW GRANTS FOR 'user'@'localhost';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question