[maemo-developers] How to use MySQL with Maemo 5?
From: Sascha Mäkelä sascha.makela at gmail.comDate: Tue Mar 30 11:54:35 EEST 2010
- Previous message: How to use MySQL with Maemo 5?
- Next message: How to use MySQL with Maemo 5?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
So basically I should somehow install the plugin somewhere under /madde on the N900, right? Has anyone done this and how? I'm not that familiar with Linux. Thank you for your help, Sascha On Tue, Mar 30, 2010 at 09:59, Ram Kurvakat <rkmaemo at gmx.com> wrote: > sorry I didnt read the message below your error :p > > please ignore my message, will post when I get a chance to see it in > detail. > > I've used sqllite on Linux and its just a matter of installing the plugins > required for dev/runtime env. > > > > ----- Original Message ----- > > From: Ram Kurvakat > > Sent: 03/30/10 07:52 AM > > To: Sascha Mäkelä, maemo-developers > > Subject: Re: How to use MySQL with Maemo 5? > > > > have you tried to install libqt4 mysql plugin ? > > This should help in case you havent already seen it > > http://doc.trolltech.com/4.6/sql-driver.html#qmysql > > > <http://doc.trolltech.com/4.6/sql-driver.html#qmysql> > > ----- Original Message ----- > > From: Sascha Mäkelä > > Sent: 03/30/10 06:57 AM > > To: maemo-developers > > Subject: How to use MySQL with Maemo 5? > > > I'm trying to retrieve data from a MySQL server. I use the following > example code (with some slight modifications): > > Code: > > > QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); db.setHostName("bigblue"); db.setDatabaseName("flightdb"); db.setUserName("acarlson"); db.setPassword("1uTbSbAs"); bool ok = db.open(); > > But I get the following error: > > Quote: > QSqlDatabase: QMYSQL driver not loaded > QSqlDatabase: available drivers: QSQLITE > Is MySQL even supported in Maemo or am I doing something wrong? I also > found the following two links: > > http://qt.nokia.com/doc/4.6/sql-driver.html > http://qt.nokia.com/doc/4.6/install-x11.html > > But I'm not quite sure where I should install these "drivers". Should I > install them in my Windows computer, where I'm using MADDE and Qt Creator > (well, actually I'm using now the Qt Creator 2.0 Technology Preview, so I'm > not quite sure if it's using MADDE any more)? Or should I install them on > the target N900? Or both? Or am I completely on the wrong tracks here? > > Any help would be greatly appreciated. > > Cheers, > Sascha > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100330/0e5ec398/attachment.htm>
- Previous message: How to use MySQL with Maemo 5?
- Next message: How to use MySQL with Maemo 5?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]