← Back to team overview

ubuntu-phone team mailing list archive

Re: Database not working on development and nexus 4

 

On Sat, Apr 18, 2015 at 8:04 AM, Diogo Figueira <benfica.goed3@xxxxxxxxx> 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



References