Archive for the ‘zend’ Category
Zend and “configure db-adapter” command problem
I use Win7 and Netbeans to work with Zend. When I tryed to configure db adapter for MySQL I got an error.
Run command:
configure db-adapter "adapter=PDO_MYSQL&host=localhost& username=root&dbname=test&password=555"
Error:
'host' is not recognized as an internal or external command, operable program or batch file. 'password' is not recognized as an internal or external command, operable program or batch file. 'database' is not recognized as an internal or external command, operable program or batch file.
Solution:
I’ve just read lots of forums until I found a . When I escaped quotation marks the command begin to run properly:
configure db-adapter \"adapter=PDO_MYSQL&host=localhost& username=root&dbname=test&password=555\"