$ mysql -u user --password="password" zforum_db < schema_mysql.sql ERROR 1064 (42000) at line 1 in file: 'schema_mysql_patch_1.0.12.sql': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SOURCE schema_mysql_patch_1.0.9.sql SOURCE schema_mysql_patch_1.0.10.sql SOURCE ' at line 1