VisualGuideToInstallingStendhalStep5: Difference between revisions
Content deleted Content added
imported>Kymara remove distracting update notes which would be in history |
imported>Kymara something bad happened. |
||
Line 1:
==Step 5. Configure marauroa to access the MySQL database==
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,and cd to ''marauroa/'' folder (don't worry, in the photo they called it ''marauroa-2.'', ignore this).
[[Image:Step5cd.PNG]]
At prompt, copy from here, with the correct version number instead of X.XX:
java -cp
which is Case SenSiTivE! And '''remember to change the 0.XX to whatever version you have
▲ java -cp libs/marauroa-x.x.jar;libs/stendhal-server-0.XX.jar games.stendhal.server.core.engine.GenerateINI
▲which is Case SenSiTivE! And remember to change the 0.XX to whatever version you have as well as the marauroa version. (the photos below are outdated so they look a little different - don't worry!)
Now USE your mouse and right-click anywhere inside the window and choose paste.
Then press <tt>enter</tt>
[[Image:Step5GenerateINI.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
[[Image:Step5GenerateINI1.png]]
Then press <tt>enter</tt>
When prompted for the name of the database host, this time you can safely press <tt>enter</tt> to accept the default localhost
Line 47 ⟶ 34:
and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>
[[Image:Step5GenerateINI2.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 55 ⟶ 42:
and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>
[[Image:Image10.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]].
| |||