I'm trying to configure my mini2440 as a MySQL client. Any tips? Thanks.
MySQL anyone?
Sorry for the vague question... I see that most people want use it as a server for sql (Cherokee). What I want is it to act as a client, connecting to a remote server(my laptop, over LAN), from Qt 4. I have developed a similar client app in Qt for my laptop and it works fine. (It says MySQL driver not found and so I used PostgreSQL and it worked fine). I will be using the same app for the board after compiling it using the qmake with arm-g++. So what I actually wanted to ask is -- do we need to x-compile any MySQL/PSQL driver, apart from the regular build of Qt 4 for the board, and if so, then how? Thanks.
Yes, You need to add: "-plugin-sql-mysql -L[path_to_mysql]/lib -I[path_to_mysql]/include" while configuring QT before compile. good luck best regards Tom
@Tom There is no mySQL plug-in in the plugins folder of Qt-src. There's only SQLite in it. I guess I'll need to download it and place it in the src? BTW, I had already compiled Qt without the option for SQL, so is there is any way of just compiling the plug-in instead of the entire source? Thanks.
@Slash when I said about path to MySQL I meant path to compilled MySQL libs that You use in your Linux. For example You can install it by pocket manager in Angstrom (opkg) then copy it to Your PC (you need libs compilled for armv4t) and then You can start compilling Your QT libraries. good luck best regards Tomasz