Results 1 to 3 of 3

Thread: WebOS Tutorial using MySQL Database

  1. #1
    Join Date
    Aug 2004
    Posts
    39

    WebOS Tutorial using MySQL Database

    I want a tutorial explaining me connection between WebOS and MySQL using PHP Script. Can anyone explain to me or make me understand it? I would be really happy. I saw a tutorial at webos101 of Getting JSON From An External MySQL Database. It connect to a PHP page to retrieve data from an external MySQL datbase and return the results in JSON format.

  2. #2
    Join Date
    Mar 2010
    Posts
    2,578

    Re: WebOS Tutorial using MySQL Database

    You can write PHP script to use your database you have created and then use AJAX to call the PHP script and return the information to the WebOS. Can you tell me which part are is troubling you in that tutorial? Is the PHP script not giving you correct response to your calls? Or the Mojo code that deals with sqlite? The Mojo code at webos101 for this tutorial makes only log entries in /var/log/messages. There are no UI elements present there which get your call. You will have to modify that code by adding your own application into it. What log entry do you see when you open the log?

  3. #3
    Join Date
    Aug 2004
    Posts
    39

    Re: WebOS Tutorial using MySQL Database

    When I open the log I get “got ajax response” but do not see anything from the database. So, I think I will need to modify the code of Mojo and some items to it before that. I also tried disconnecting my Wamp server too, but get the same message though. In the Wamp server I have kept my password as blank to make it easier and gave the path as localhost/myscript.php. Hope this is the right way to do it or is there some other way? I am gonna try the mojo application first. Thankyou for your response.

Similar Threads

  1. Connecting C# with MySQL database
    By Quattro in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 10:13 PM
  2. mysqldump in MySQL database
    By Caden Fernandes in forum Software Development
    Replies: 4
    Last Post: 04-03-2010, 11:02 PM
  3. How to speed up the MySQL database
    By Kalanidhi in forum Software Development
    Replies: 5
    Last Post: 27-02-2010, 01:33 AM
  4. Replies: 3
    Last Post: 07-11-2009, 09:36 PM
  5. How to Connect MySQL database from PHP
    By Booth in forum Software Development
    Replies: 3
    Last Post: 21-01-2009, 09:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,693,564.22181 seconds with 17 queries