Configuring For Zend Framework
|
|
I’m trying to configure Bitnami WampStack to perform the Zend QuickStart Tutorial: I can’t do it. I’m getting this error: Fatal error: Uncaught exception ‘Zend_Db_Adapter_Exception’ with message ‘SQLSTATE28000 Access denied for user ’... I’ve already overcome a different error by enabling PDO (for Windows) as instructed here: I found these instructions for installing Zend, but can’t figure out how to relate to Bitnami: How can I configure Bitnami WampStack to work with the Zend framework? |
|
|
Hi Ed, I’m afraid we have never tried to install Zend on top of our stacks, but that error seems like a MySQL permission issue to me. I haven’t been able to find in the links provided how to do it, but you will probably need to specify the user who will access the database somewhere. Cheers |
|
|
The error was more serious than you think :) Not only did I not have permission to access the mysql table, I hadn’t even made the table! Sorry to bother you. Anyway, I was able to get Zend working with Bitnami Wampstack and complete the official Zend Quickstart Guide: http://framework.zend.com/wiki/display/ZFDEV/Official+ZF+QuickStart The only modifications I had to make to the Bitnami installation was to enable some (pdo) lines in the php.ini as instructed here (under the section called “Windows users running PHP 5.1.0 and up”: To really get it working, I followed the advice from this comment on the Zend QuickStart (modified to work with Bitnami): ...download the source code from the ‘this archive’ link near the beginning and put it in your document root directory (e.g., /htdocs/quickstart/...). Then create a MySQL database [use Bitnami PHPmyAdmin] named ‘quickstart’. In the database make a table named ‘comments’ with 2 fields – comment_id (int with auto_increment) and comments (medium_text). Then edit the /quickstart/application/config/quickstart.ini file to use the MySQL name, username [my Bitnami used ‘root’] and password for the MySQL database that you just created [same as the Bitnami MySQL password entered during Bitnami installation]... |
