Talk:Installation Guide for Installing on Amazon EC2: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
This returns a syntax error for me. However, if I do this: | This returns a syntax error for me. However, if I do this: | ||
mysql> DELETE FROM mysql.user WHERE user = | mysql> DELETE FROM mysql.user WHERE user = ''''; | ||
Then it appears to work. I think this is the correct syntax. | Then it appears to work. I think this is the correct syntax. |
Revision as of 08:50, 30 March 2012
Under "Set up MYSQL" "Make additional security-related changes to mysql", there is a command to remove anonymous access:
mysql> DELETE FROM mysql.user WHERE user = ;
This returns a syntax error for me. However, if I do this:
mysql> DELETE FROM mysql.user WHERE user = ';
Then it appears to work. I think this is the correct syntax.