but it doesn't work for me, I've try to change and use ' to \" then it's works, yahooooo!
% zf configure db-adapter \
> 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH "/../data/db/guestbook.db"' \
> production
A db configuration for the production has been written to the application config file.
% zf configure db-adapter \
> 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH "/../data/db/guestbook-testing.db"' \
> testing
A db configuration for the production has been written to the application config file.
% zf configure db-adapter \
> 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH "/../data/db/guestbook-dev.db"' \
> development
A db configuration for the production has been written to the application config file.
Tuesday, February 16, 2010
My Zend DB adapter syntax
I've following Zend Framework Documentation on Create a Model and Database Table. I'm doing initialize DB resource by command on document.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment