Hello, This command just write these two lines in the production section of application/configs/application.ini : resources.db.adapter = "PDO_SQLITE" resources.db.params.dbname = APPLICATION_PATH "/../data/db/guestbook.db"
It requires a valid .zfproject.xml and application/configs/application.ini Your error message is weird ... it seems like the & is interpreted to launch your command (until the &) in background. Are you sure you did not missed the single quotes ? What is your OS ? Try to backslash the & ... or just add the two lines manually in your config file ;) Regards, Emmanuel 2012/2/6 Adam Tong <[email protected]>: > Hi, > > I am following the steps described at this page: > http://framework.zend.com/manual/en/learning.quickstart.create-model.html > > I'am executing this command: > zf configure db-adapter 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH > "/../data/db/guestbook.db"' > > and I get an error message saying that dbname is not recognized as an > internal command. > > I created a sql3 database in data/db/. I created the folder data at > the same level as the folder application. > > The backslash is also confusing, i don't know if it must be in the > command or it means return. Here is a copy paste from the web page: > > % zf configure db-adapter \ >> 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH "/../data/db/guestbook.db"' \ > > > Thanks > > -- > List: [email protected] > Info: http://framework.zend.com/archives > Unsubscribe: [email protected] > > -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
