How to config and install Phundament 3 with MySQL?

旧巷老猫 提交于 2020-01-07 02:31:20

问题


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 db component in config/main.php to run with your MySQL database; Note: by default Phundament's console.php uses 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 yes to 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!