Plain and simple I am getting this message:
PDOException: SQLSTATE[HY000]: General error: 1243 Unknown prepared statement handler (1) given to mysqld_stmt_execute /var/www/project/app/controllers/IndexController.php (65)
when using mysql-proxy with phalcon.
Funny this that if I use plain php to connect to mysql-proxy that is working (I am using mysql-proxy for many projects and it is working on all of them).
This is query:
$users = User::query() ->where("parse_id != ''") ->order("ID") ->execute();
Any idea why this is not working and how to debug this? If you need more info please tell me what else of debug info do you need?