Removed the line "ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER " from the CREATE VIEW view_users Statement; this statement sometimes causes database creation errors.