Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Any way to connect with a MySQL Database?

Hello. Is there any way using Titanium Mobile 1.4 to connect with a remote MySQL Database? I really need to know ASAP for my App.

— asked August 29th 2010 by Colton Arabsky
  • database
1 Comment
  • Have you seen my post here.

    I think you will find that this explains how to do this.

    Cheers
    Greg

    — commented August 29th 2010 by Gregor Munro

3 Answers

  • Accepted Answer

    Have you seen my post here.

    I think you will find that this explains how to do this.

    Cheers Greg

    — answered August 29th 2010 by Gregor Munro
    permalink
    0 Comments
  • The easiest way might be to use a RESTful API on your server and use Titanium.Network.HTTPClient-object to communicate. I don't believe there's a way to connect to databases outside your Resources directory.

    — answered August 29th 2010 by Richard Venneman
    permalink
    0 Comments
  • I'm reading this article at the moment as I need to communicate with MySQL DB. Hope it helps.

    http://www.gen-x-design.com/archives/create-a-rest-api-with-php/

    Good luck

    Mark

    — answered August 29th 2010 by Mark Pierce
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.