PDA

View Full Version : mysql error



ganeshgladish
6th July 2013, 14:55
hi,
i have installed mysql on my ubuntu ...after i change my driver in qt( db = QSqlDatabase::addDatabase("MYSQL"))...but i got error ....i don't know wat can i do ..i am using qt creater 2.6.2, ubuntu os...please provide some sollutions

QSqlDatabase: MYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE

anda_skoa
6th July 2013, 16:07
Have you installed the Qt MySQL driver package?

Cheers,
_

saman_artorious
9th July 2013, 08:01
this is not relevant to Ubuntu OS and Qt 2.x.x, install the missing drivers.

ganeshgladish
10th July 2013, 12:50
yes i installed ...i also came same error

ChrisW67
10th July 2013, 22:23
Install mysql
Install libqt4-sql-mysql

Gokulnathvc
24th July 2013, 12:01
Use native QMYSQL driver error. First get the database drivers in your system and list those here.