I do not know how uwamp works, but for sure, web2py will connect to mysql
using the connection string:
mysql://username:password@localhost/test

Just take the username, password, ip or host name and datatabase name

in your model file define:

db = DAL('mysql://username:password@localhost/test')

http://www.web2py.com/book/default/chapter/06#Connection-Strings



--
Bruno Rocha
http://about.me/rochacbruno/bio


2011/2/4 stargate <kyoukh...@gmail.com>

> Lets say I am running the web2py Server in windows.  And for my mySQL
> database i am using
>
> http://www.uwamp.com/
>
> Can web2py connect to that database using the connection string it has
> given in the example.
>
> What would i have to do to get the database working with web2py.
>
>

Reply via email to