[Instiki] Instiki with MySQL
whitley at acm.org
Thu Dec 7 19:29:58 EST 2006
Argh. It occurs to me that I probably left out a step which may have
caused the migration to run incorrectly. You need to explicitly tell
rake db:migrate to use the production (vs. development) database
defined in database.yml. Thus the command should be:
ruby rake migrate RAILS_ENV=production
(Again, you may need to use full paths for ruby & rake.)
If that doesn't work, check what log files were created in the log/
directory. Check the end of those file(s) for messages that suggest
a problem, and post those fragments here if the answer isn't obvious
(e.g. database name misspelled or not created, etc.).
On Dec 6, 2006, at 2:37 PM, keiya at kanno.com wrote:
> Thank you very much for your answer.
> I'm done with migration. Then I runed the "instiki.cmd" and opened the
> http://localhost:2500/ but only blank page appears. What is wrong?
> Am I
> missing something that I should do?
> John Whitley wrote:
>> Assuming that in updating database.yml, you've also created a MySQL
>> db for Instiki, then you just need to run "rake migrate". If you're
>> on Windows using the all-in-one bundle zipfile, you may need to do
>> this as:
>> path\to\ruby\bin\ruby.exe path\to\ruby\bin\rake migrate
>> (The rake tool is just a ruby script, and it typically lives in the
>> ruby/bin directory.)
>> -- John
>> On Dec 5, 2006, at 8:39 PM, keiya at kanno.com wrote:
>>> I have a very very simple question. How can I use Instiki with
>>> MySQL? I
>>> downloaded the instiki's zip and changed "database.yml." What
>>> should I
>>> do next?
>>> Instiki-users mailing list
>>> Instiki-users at rubyforge.org
>> Instiki-users mailing list
>> Instiki-users at rubyforge.org
> Instiki-users mailing list
> Instiki-users at rubyforge.org
More information about the Instiki-users