问题
Downloaded and place phundament3 in local machine, ya its working but not when trying to config /install it with Mysql database followed like installation doc ,
where I can find its Mysql dump?
if installation do all for me then how to do in local? can any one explain steps,
using Ubuntu 11.04
回答1:
If you accidentally mixed up your installation, eg. you've installed Phundament with a SQLite database (which is the default), but you want to install it with MySQL, take the following steps:
- update Yii's
dbcomponent inconfig/main.phpto run with your MySQL database; Note: by default Phundament'sconsole.phpuses the same components as the web-app. - go to your web app folder and run
./yiic migrate - you should see a list of migrations to be applied, answer
yesto start the migration
All migrations should now run again, just with your MySQL database.
来源:https://stackoverflow.com/questions/13305559/how-to-config-and-install-phundament-3-with-mysql