Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2008
    Location
    Donostia
    Posts
    1

    Lightstreamer/Apache/MySQL

    Hi, i am trying to evaluate your product to see if it fits to our necessities. I have followed some of the tutorials and examples, finding them very useful and interesting.

    I though i was prepared for a next step, but it seems i am even more newbie than i though.

    The thing is that we use the XAMPP package, with the Apache and MySQL database in it. I have changed the ports, making Apache work in the 80, and Lightstreamer in 8080, as always MySQL works in 3306. I have tried, modifying the "helloworld" example to connect to tha data base, cause what we want is to publish the data each time other application changes it. I've made also the adapters... etc... just trying to modify what is in the tutorials, but connecting to my database, and gathering the data from there.

    But, it doesn't work, the page shows the message of "loading" and never shows the data. So how can i connect my site, hosted in lighstreamer, to a MySQL data base hosted in Apache? We really don't care if the site is hosted in one or the other server... just to be connected to the data base, and updated constantly.


    If you have any examples about this that i have missed, please, forgive me and redirect me to them. Otherwise, could you help me? Thank you in advance.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Reconfiguring the ports and changing the Data Adapter are both modifications that may introduce issues. May you please, as a first step, confirm that you could manage to reconfigure the ports and see the original "helloworld" example running?
    Then you can inspect the data flow throughout the Server by extending the Server log. Set the priorities for the "LightstreamerLogger.subscriptions" and "LightstreamerLogger.pump" categories as "DEBUG" in "lightstreamer_log_conf.xml" and see if your data is flowing, or send us the logs for a check.

 

 

Similar Threads

  1. LS and apache
    By thinklinux in forum General
    Replies: 6
    Last Post: January 20th, 2011, 12:19 PM
  2. MYSQL & Lightstreamer
    By ndelvalle in forum General
    Replies: 3
    Last Post: December 1st, 2010, 01:40 AM
  3. Apache and Lightstreamer
    By manuks in forum General
    Replies: 3
    Last Post: October 21st, 2009, 05:48 PM
  4. Installing LS on Apache?
    By rufnex in forum General
    Replies: 1
    Last Post: August 22nd, 2007, 04:38 PM
  5. DojoDemo and Apache 2
    By wzwei28 in forum Client APIs
    Replies: 1
    Last Post: July 19th, 2007, 05:30 PM

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
  •  
All times are GMT +1. The time now is 04:12 PM.