I wanted to host a Stendhal-server (version 0.74). When I try to start with
./marauroad stendhal-0.74.jar server.ini
I get this error:
ERROR: Marauroa can't connect to database
Verify "server.ini" file to make sure access to database is possible.
and here the complete output from the marauroad-command:
Sorry for my poor english ;)
I will be grateful for any tip.
You seem to have CSS turned off.
Please don't fill out this field.
You might have your mysql in a different port than the default. Try using:
replace <mysql port> with your port. (default is 3306)
You should not port the n and d entries for security purposes.
I know what you mean and I try this before I wrote this thread ;)
But I solved it on my own => Login as root an edit your /etc/hosts.allow
write in: mysqld:ALL
and then it works :D
Ah its so nice when things get sorted by themself! By any chance could you add this to the wiki page on server trouble shooting, or whatever wiki guide you followed? Thanks! :)
http://stendhal.game-host.org/wiki/index.php/Host_a_Stendhal_Server <-- all the links are there for server set up guides, i think either the trouble shooting or the recommended guide for Linux would be best to add this to. thanks very much in advance
I have the same problem above, but I'm doing it on Windows... so I don't know how to do that thing (edit hosts.allow and add mysqld:ALL)
Does anybody know how to do that?
p.s. I also tried adding the port inside the server.ini sentence, to no avail. I can connect OK via the mysql command line.
>I have the same problem above
Given that the above logs are no longer available and that the error text mentioned directly in that post is a fallback error message, I'd suggest you to post your own error log. To do it, open a command window, cd to your server directory ( where marauroa.jar is) and type:
marauroad > myerror.txt
Then in your server folder ( where marauroa.jar is) a new text file named myerror.txt should have appeared.
You can upload this file to http://nopaste.com/ and the link you get after submitting it can be posted here in another message for us to analyze.
I have the same problem, how did u solve it ?
I am using h2 db not my sql and I face the same problem , any help ? or if I want to use mysql how should I change the server,ini configuration ??
What is the complete error message you get?