On Sat, Apr 18, 2015 at 8:04 AM, Diogo Figueira <[email protected]> wrote:
Hi guys does some one tell me how to make a connection to a mysql database in qt development because when i try it out, i can't connect to my localhost.. even when i have the right code.

This is not really an answer to your question, but: Does it have to be mySQL? QML offers easy access to SQLite databases through the LocalStorage object [1]. If you want easy access to a database in a phone app, that's the way to go.

Robert

[1] http://doc.qt.io/qt-5/qtquick-localstorage-qmlmodule.html


--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to