TurnKey Linux Virtual Appliance Library

remote access of mysql web2py-apliance

vssorru's picture

As my first post I wanna thank you all for the excellent job.

How to adjust the remote access of mysql  web2py-apliance?
in web2py, I create an application with the relevant tables, now I want to access these tables from another remote application. How should I proceed?
Jeremy Davis's picture

Sorry for slow response...

TBH I'm not sure though. I haven't even yet had a play with the Web2py appliance (but I plan to when I have time).

Firstly when you say tables, I assume you mean database tables? Having a quick look at the changelog (link on the appliance page) I can see that it uses MySQL as the DB backend. Knowing the TKL guys it will be configured to only listen to localhost (at least that's what they do with other appliances OOTB). SO if you want to connect remotely you'll find details in the docs here.

It relates to an earlier version of TKL but should still work. It'd be great if you could confirm that it does in fact work in the current appliances. Thanks. 

Vicente Orrù's picture

Yes database tables. Thanks

Yes database tables.

Thanks for the reply, the doc was a great help.

Now, work fine

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)