This is my note on how to prepare for installation moodle in centos 5 .. via command prompt MySQL command.…