Cli task database save

Hi,

(First, sorry for my bad language, i'm french!)

I've got a little problem with a CLI task for some cron jobs. I use bootstrap from Phalcon doc and added db service to connect to my db (mysql). I can read any data from the database, but i can't save datas. If i call save(), update(), create().... it won't have any actions on database, and no error message.

If anyone hase an idea to find where i'm wrong!

Thanks a lot

Alex



7.0k

Check the privileges of database user.



3.3k

Privileges are good. I've got a webapp using same user



4.0k

Can you provide some code?



3.3k

I only used Phalcon since 3 weeks and i sometimes make mistake about some functions. I found my error and it was 100% my fault! Thanks for the answers ;)