# File lib/dbd_mysql/Mysql.rb, line 86 def __createdb(db, host, user, password, port=nil, sock=nil, flag=nil) handle = ::Mysql.connect(host, user, password, nil, port, sock, flag) begin handle.create_db(db) ensure handle.close if handle end end