Quote Originally Posted by zlatko
check Open()
If I understand you right, I shuold read http://doc.trolltech.com/4.0/qsqldatabase.html#open, but I don't find things, that could help me.

Just as well checking the output of lastError() dosen't help me much, because I know, that using QSqlDatabase::setHostName with the local dirpath produceses "Unknown MySQL Server Host '/var/lib/mysql/qttest'", but if I leave empty, it takes localhost, and without running mysql-server there is the warning, that it can't connect via socket...

Also the dirpath/file in QSqlDatabase::setDatabaseName dosen't work, as with SQLite.


So could you please give me some more information?



Thanks

Lykurg