linuxone-community-cloud/technical-resources

LAMP Stack with Wordpress instructions are wrong/out of date (in step3)

Closed this issue · 1 comments

Hi,

In your LAMP stack with Wordpress instructions, it says to do the following in Step 3: Install WordPress with database
grant all on wordpress.\* to 'wordpress'@'localhost';

It returns:
ERROR: Unknown command '*'.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '* to 'wordpress'@'localhost'' at line 1

\ character is not allowed here.

The correct syntax is :
GRANT ALL ON wordpress.* TO wordpress@localhost;

Thanks

Thanks for reporting this, on it 👍