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

MySQL: GRANT ALL ON TO 'DENTIFIED BY ist deprected #28

Open
winkler-winsen opened this issue Sep 14, 2020 · 3 comments
Open

MySQL: GRANT ALL ON TO 'DENTIFIED BY ist deprected #28

winkler-winsen opened this issue Sep 14, 2020 · 3 comments

Comments

@winkler-winsen
Copy link

GRANT ALL ON misc.* TO 'fred'@'localhost' IDENTIFIED BY 'zap';

GRANT ALL ON misc.* TO 'fred'@'127.0.0.1' IDENTIFIED BY 'zap';

Should be altered to:

CREATE USER 'fred'@'localhost' IDENTIFIED BY 'zap';
GRANT ALL ON misc.* TO 'fred'@'localhost';
CREATE USER 'fred'@'127.0.0.1' IDENTIFIED BY 'zap';
GRANT ALL ON misc.* TO 'fred'@'127.0.0.1';
@srcatto
Copy link
Contributor

srcatto commented Feb 9, 2021

The current versions of MAMP, XAMPP are not MySQL 8.0 yet. There is also a note in course 2 about the default character set changes. Courses 3 & 4 are due to get a pinned post as well. See your other issue post. Not sure 2 are needed.

@csev
Copy link
Owner

csev commented Mar 24, 2022

@winkler-winsen Do you want to just edit the file and send a pull request?

srcatto added a commit to srcatto/wa4e that referenced this issue Oct 13, 2022
Tested on - 
a) Win 11 x64Pro 22H2, MySQL 5.6.34 phpMyAdmin 4.7.0
b) Ubuntu 20.04 x64 MySQL 8.0.30 phpMyAdmin 5.2.0
Remove phpMyAdmin warning, "A comma or a closing bracket was expected. (near KEY)" , for lines 3-5 and update utf8 to utf8mb4.
@srcatto
Copy link
Contributor

srcatto commented Oct 13, 2022

Thanks for the updated commands.
Tested on -
a) Win 11 x64Pro 22H2, MySQL 5.6.34 phpMyAdmin 4.7.0
b) Ubuntu 20.04 x64 MySQL 8.0.30 phpMyAdmin 5.2.0
Created PR #52 for this and remove phpMyAdmin warning, "A comma or a closing bracket was expected. (near KEY)" , for lines 3-5 & update utf8 to utf8mb4.

csev added a commit that referenced this issue Dec 19, 2022
Update for issue #28, PK warning & utf8mb4
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