wow ... thoinx a million ... what can i do without you ... you're the best ...

On 11/26/11, Massimo Di Pierro <[email protected]> wrote:
> db = DAL('mysql://....w2p,pool_size=100')
>
> should be
>
> db = DAL('mysql://....w2p',pool_size=100)
>
>
>
> On Nov 26, 5:34 am, tOlorun <[email protected]> wrote:
>> Hi guys
>>
>> iam new to using web2py framework and iam getting this error
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/pymodules/python2.7/gluon/restricted.py", line 192,
>> in restricted
>>     exec ccode in environment
>>   File "/home/oluwaseun/web2py/applications/mySQLsbApp/models/db.py",
>> line 18, in <module>
>>     db = DAL('mysql://root:root@localhost:3306/
>> w2p,pool_size=100')       # if not, use SQLite or other DB
>>   File "/usr/lib/pymodules/python2.7/gluon/dal.py", line 3905, in
>> __init__
>>     raise RuntimeError, "Failure to connect, tried %d times:\n%s" %
>> (attempts, error)
>> RuntimeError: Failure to connect, tried 5 times:
>> (1049, u"Unknown database 'w2p,pool_size=100'")
>>
>> i have used a wrong password and i get the a different error
>>
>> i have also researched the internet to see if i will get a
>> solution ... but i could not find a solution
>>
>> can anyone here PLEASE help ... ?
>>
>> i have been on this for quite some days now ...
>>
>> Thanks in advance ...
>


-- 


Oluwaseun Omotosho

*Oluwanife@me*


To be filled with the life of Christ Jesus and released into our
destinies,taking
the world for Him.

Credit Risk, Card & Ins. Services | Research & Development | Flex Branch &
Retail | FASYL Technology Group


M: +2348103891218 | M: +2348185780959 | M: +23233487811

| E-mail: [email protected] I [email protected] <[email protected]>
 | [email protected] <[email protected]>.uk


I URL ; fasylgroup.com I

A Member of *fasyl *Technology Group with presence in Mauritius | UK |
India | Nigeria | Ghana | Sierra Leone | South Africa | Zimbabwe | Kenya |
Cote d’Ivoire *fasyl *is a BMSL Group Company

….powering business drives

This email and all content are subject to the following Disclaimer

Reply via email to