Sure, here are the databases I have tried to create:
# db2 = DAL('sqlite://scheduler_storage.sqlite')
# db2 = DAL('pymysql://root:pass@localhost/testdb2')
db2=DAL('mysql://root:pass@localhost/testdb2')
# db2 = DAL('MySQLdb://root:pass@localhost/testdb2')
# db2 = DAL('pymysql://root:pass@localhost/testdb1')
for MySQLdb and pymysql I get the error that they are not supported. mysql
does not give that error but gets stuck in starting the task.
I even tried to import pymysql in web2py.py which did not help with the
error of it being not supported.
On Monday, January 2, 2017 at 1:38:42 PM UTC-5, Dave S wrote:
>
>
>
> On Monday, January 2, 2017 at 8:22:55 AM UTC-8, Aydin wrote:
>>
>> I used the exact example shown by massimo (https://vimeo.com/27478796)
>> and it gets stuck at (starting single-scheduler for myapp...) and the
>> website does not come up saying browser cannot establish a connection).
>> Running on ubuntu and debian.
>>
>
> Can you show us your connection string (passwords obfuscated)?
>
> /dps
>
>
>>
>> On Monday, January 2, 2017 at 11:04:44 AM UTC-5, Niphlod wrote:
>>>
>>> scheduler definitely works for mysql.
>>> what you experienced is perfectly fine. a scheduler process just sits
>>> there if there is nothing to do (i.e. no tasks to process).
>>>
>>> On Sunday, January 1, 2017 at 5:14:21 PM UTC+1, Aydin wrote:
>>>>
>>>> I have used the scheduler before without being worried about the
>>>> database type.
>>>> I tried to use mysql but it gave an error that it is not supported. I
>>>> have mysql and pymysql installed and created a database "testdb" and used
>>>> the manual format and got that error that it is not supported.
>>>>
>>>> On Saturday, December 31, 2016 at 4:09:23 PM UTC-5, 黄祥 wrote:
>>>>>
>>>>> perhaps, it related with database issue such as : sqlite
>>>>> had you already tried another database like mysql or postgresql?
>>>>>
>>>>> best regards,
>>>>> stifan
>>>>>
>>>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.