CakePHP 3.0 Bake SQLSTATE[42000] error

April 17, 2015 614 views
PHP Frameworks MySQL

When running CakePHP3.0 Bake command I get the following error. Not sure where to look for a solution. I have looked at the line referenced in the error, but not sure how to correct it. Bake recognizes my tables, but when I invoke the function the following error occurs.

One moment while associations are detected.
Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/var/www/html/articli4/src' at line 1 in [/var/www/html/articli4/vendor/cakephp/cakephp/src/Database/Schema/Collection.php, line 130]
Be the first one to answer this question.