I'm trying to install Wordpress on my local server according to instruction described on this page
And now I'm stuck on this step:
GRANT ALL ON wordpress_db.* TO 'wp_user'@'localhost' IDENTIFIED BY 'password';
Tried this command replacing 'password'
with my actual password, but MySQL complains about an extra apostrophe at the end of a sentence, but I can't find any mistake.
mysql> GRANT ALL ON wordpress.* TO 'wp_admin'@'localhost' IDENTIFIED BY 'wordpress1sthebest';
ERROR 1064 (42000): 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 'wordpress1sthebest'' at line 1
Tried to run it also in phpMyAdmin, here is what i've got
Please help