Renaming a table is not working in MySQL
RENAME TABLE group TO member;
The error message is
The mysql query for rename table is
Rename Table old_name TO new_name
In your query, you've used group which one of the keywords in MySQL. Try to avoid mysql keywords for name while creating table, field name and so on.