query->exec(QString("CREATE DATABASE `%1` character set utf8").arg(dbname));query->exec(QString("CREATE USER '%1'@'localhost' IDENTIFIED BY '%2'").arg(dbuser).arg(dbpass));query->exec(QString("grant all on %1.* to `%2`@`%` IDENTIFIED BY '%3'").arg(dbname).arg(dbuser).arg(dbpass));