It looks like it's reading in some additional files to get those queries:
Code:
importSQL('./database_structure.sql',$variables);
importSQL('./database_data.sql',$variables);
If I had to guess, either there's a missing semicolon (quick, simple, and easy), or the files have been through a DOS-based machine and/or FTP and have broken end-of-line markers (visible as ^M when you use vi on the files).
Also, don't sweat the I/O warnings: they're just letting you know something's doing a lot of disk I/O, and that's what you're doing when you're setting up a system
