Fixes database reference issues in setup_homework_mysql.sql