Ronald Fischer wrote:
>> I would like to delete, create database and
>> upgrade with prepared files. I know mysql library but I'm not sure
>> whether it let me operate on  commands such as delete database, source
>> file_path etc.
> 
> If you connect with administrator privileges, you should be able
> to execute any command you could also execute from the mysql
> command line interface.
> 
> Ronald

dbh.query("source c:/create.sql") - doesn't work. It causes SQL syntax.
-- 
Posted via http://www.ruby-forum.com/.