You should use SQLDB to create a database connection.
In your model (models/db.py most probably):

SQLDB('mysql://username:passw...@localhost:3306/the_name_of_the_db')


On Mar 25, 8:53 pm, dave_mcgee <daveomc...@gmail.com> wrote:
> Hi there.
>
> I have a MySQL database in my web2py environment.
>
> I wish for an external application to connect to it also to read
> data.. What parameters should I use? I assume localhost is one but I
> can't find any username/password information associated with my db
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to