Home Help Center

QSqlDatabase: QMYSQL driver not loaded

kanisukakanisuka Member kane parkOrganization: yonseiProject: rpc poc

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.

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.


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

    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.

Sign In or Register to comment.