Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Discussió:Installation Guide for Installing on Amazon EC2

De MoodleDocs
Salta a:navegació, cerca

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:

mysql> DELETE FROM mysql.user WHERE user = ' ' ;

I believe those quotes should be there, and think the problem is caused when attempting to type the apostrophy directly into Moodle WYSIWYG editor, which translates into an empty space. If you use the double apostrophy directly in the MySQL commandline editor instead of leaving it blank, then it appears to work. I think this is the correct syntax.