StendhalLocalhostServerOnLinux: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
remove some junk/opinions which distract from main point. explain log4j error
imported>Kymara
sth about root mysql thingy
Line 27: Line 27:
grant all on marauroa.* to 'FOO'@'localhost' identified by 'BAR';
grant all on marauroa.* to 'FOO'@'localhost' identified by 'BAR';
FOO and BAR are the username and password to be used by Marauroa, respectively. Replace them with whatever you want. If the user doesn't exist, it will be created. Remember these values (FOO and BAR)!
FOO and BAR are the username and password to be used by Marauroa, respectively. Replace them with whatever you want. If the user doesn't exist, it will be created. Remember these values (FOO and BAR)!
If you get a problem like:
ERROR 1044 (42000): Access denied for user 'FOO'@'localhost' to database 'stendhal_db'
then you need to login to mysql as the root mysql user, who should have 'grant' access. As root you can then try
grant all on marauroa.* to 'FOO'@'localhost' identified by 'BAR';
again.


= Makin' the cake =
= Makin' the cake =