Hi,

I'm trying to open an embedded mysql database on windows using the qt mysql plugin that I compiled using the libmysqld library.

My qt code is as follows:

db = QSqlDatabase::addDatabase("QMYSQL");
db.setDatabaseName("test");
bool ok = db.open();

db.open() always returns false.

I tried putting the my.ini file into my HOME directory, into c:\ and into my application's directory. I also tried renaming the file to my.cnf and .my.cnf
I even went as far as creating a HOME environment variable to point to these directories and out of sheer desperation I tried a MYSQL_HOME variable.

Any ideas?

Thanks
- Pablo.