VisualGuideToInstallingStendhalStep5: Difference between revisions
Content deleted Content added
imported>Kymara using images made by juan some time ago which have correct generate INI command in them |
imported>Kymara m Reverted edits by Kymara (Talk) to last revision by Javydreamercsw |
||
Line 1:
==Step 5. Configure marauroa to access the MySQL database==
--[[User:Javydreamercsw|Javydreamercsw]] 09:35, 5 March 2008 (PST) (Update: eliminated the screens no longer used by marauroa while creating ini file)<br>--[[User:Javydreamercsw|Javydreamercsw]] 17:26, 28 September 2008 (UTC)(Update: Updated to Marauroa 2.6, Stendhal 0.69)<br>
Now you will generate a marauroa *.ini file so that marauroa knows where and how to access the database with the user accounts and other info.
Open a command prompt window
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration01.png
cd to ''marauroa/'' folder
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration02.png
java -cp marauroa.jar;stendhal-server-X.XX.jar games.stendhal.server.core.engine.GenerateINI▼
At prompt, copy from here:
which is Case SenSiTivE! And '''remember to change the 0.XX to whatever version you have''' (the photos below are outdated so they look a little different - don't worry!)▼
▲ java -cp libs/marauroa-x.x.jar;libs/stendhal-server-
▲which is Case SenSiTivE! And
Now USE your mouse and right-click anywhere inside the window and choose paste.
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration03.png
Then press <tt>enter</tt>
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration04.png
'''Warning:''' depending on how you have copied it maybe there's no need to press <tt>enter</tt> this time after you paste (you might have copied the <tt>enter</tt> character too).
When prompted for the name of the database
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration06.png
Press enter to accept the default or write your own.
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration07.png
Then press <tt>enter</tt>
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration08.png
When prompted for the name of the database host, this time you can safely press <tt>enter</tt> to accept the default localhost
Line 34 ⟶ 47:
and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration09.png
'''Warning:''' When prompted for the name of the database user password you have to write exactly the same password you chose earlier when [[VisualGuideToInstallingStendhalStep2#CreateMySQLDatabase_SetUserPassword|creating the database at Step 2]]. So copy from here:
Line 42 ⟶ 55:
and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration10.png
Here, like I have just done, it reminds you that you should have granted all permissions to access the marauroa database to the user ''stendhal_user'' with password ''stendhal_passwd''. And that is precisely what we have just done already when [[VisualGuideToInstallingStendhalStep2#CreateMySQLDatabase_SetUserPassword|creating the database at Step 2]].
| |||