[embedded]skip-bdbskip-innodbskip-ndbclusterskip-networkingskip-grant-tables[coolproga_embedded_SERVER]port=3309default-character-set=utf8_general_ci
[embedded]skip-bdbskip-innodbskip-ndbcluster#skip-networkingskip-grant-tables[project_embedded_SERVER]port=3307basedir=e:/opt/project/trunkdatadir=e:/opt/project/trunk/datatmpdir=d:/windows/tempdefault-character-set=cp1251default-collation=cp1251_general_cicharacter_sets-dir=e:/opt/project/trunk/share/charsets/
static void qLibraryInit(){#ifndef Q_NO_MYSQL_EMBEDDED# if MYSQL_VERSION_ID >= 40000 if (qMySqlInitHandledByUser || qMySqlConnectionCount > 1) return;static char *server_args[] = { "project_embedded_SERVER", "--defaults-file=e:/opt/project/trunk/my.cnf", "--key_buffer_size=32M"};static char *server_groups[] = { "embedded", "server", "project_embedded_SERVER", (char *)NULL};# if (MYSQL_VERSION_ID >= 40110 && MYSQL_VERSION_ID < 50000) || MYSQL_VERSION_ID >= 50003 if (mysql_library_init(sizeof(server_args) / sizeof(char *), server_args, server_groups)) {# else if (mysql_server_init(sizeof(server_args) / sizeof(char *), server_args, server_groups)) {# endif qWarning("QMYSQLDriver::qServerInit: unable to start server."); }# endif // MYSQL_VERSION_ID#endif // Q_NO_MYSQL_EMBEDDED}
QSqlDatabase::addDatabase("QMYSQL");
if (mysql_library_init(sizeof(server_args) / sizeof(char *), server_args, server_groups)) {
if (mysql_library_init(0, 0, 0)) {