ZF1.*憤怒小鳥系列三:數據庫操做之自動生成數據庫鏈接配置

【環境】:win7 xampp_v3.1.0 ZendFramework-1.12.3數據庫

【目標】: 經過ZF tool生成數據庫鏈接的ini配置文件app

【步驟】:.net

一、在命令行模式進入項目目錄,執行命令命令行

zf configure db-adapter "adapter=PDO_MYSQL&host=localhost&u
sername=root&password= &dbname=demo&charset=utf8";get

image

二、查看test\application\configs\application.iniit

image

相關文章
相關標籤/搜索