Home Help Center

QSqlDatabase: QMYSQL driver not loaded

kanisukakanisuka Member kane parkOrganization: yonseiProject: rpc poc
Hello,

I'm trying to use mysql db instead of freeze (Berkly DB) for icegridregistry, but I'm getting an error while executing icegridregistry as you can see below.

command:
utuntu:> icegridregistry --Ice.Config=db_master.cfg &

error message:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
!! 02/05/2013 21:28:26.305 icegridregistry: error: service caught unhandled exception:
../../../src/IceDB/SqlTypes.cpp:261: IceDB::DatabaseException:
database error: Driver not loaded
driver error: Driver not loaded

I hope someone has an idea.

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Note that we are deprecating the use of the Qt database layer with 3.5.0 so going forward I don't recommend using it. The error message seems to indicate that the QT MySQL plugin isn't installed. So the first thing to check is if the Qt package for the mysql plugin is installed and install it if it's not already installed.

    Cheers,
    Benoit.
Sign In or Register to comment.