Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- txtsd said: ↑
- So I've looked and found absolutely no guides that show how to make this work with MySQL.
- I've installed MySQL and it's running, but I can't get mcmmo to work with it.
- Any help will be appreciated!
- Have you created the user and database in mysql? Or did you just install MySQL and cross your fingers?
- It looks like you didn't create the database in mysql for mcmmo to use. Here is what you need to do...
- First, open your mcmmo.properties file and look for the following:
- MySQLuserName=xxxxxx1
- MySQLdbPass=xxxxxxx2
- MySQLdbName=xxxxxxxx3
- Your values will not be xxxxxxx but take note of them as you will need them.
- At the command prompt run mysql. The following command should work:
- mysql -u root -p
- This will run mysql as user root with no password. You will probably be prompted for a password, just hit enter unless you set one during the install (can't recall if it asks you to or not).
- Now you should get a new prompt. Congratulations you're using MySQL! Type the following commands, pressing enter after each semi-colon. Don't forget the semi-colon!
- Code:
- CREATE DATABASE xxxxxxx3; [enter]
- CREATE USER 'xxxxxxx1'@'localhost' IDENTIFIED BY 'xxxxxxx2'; [enter]
- GRANT ALL PRIVILEGES ON xxxxxxx3.* TO 'xxxxxx1'@'localhost' WITH GRANT OPTION; [enter]
- FLUSH PRIVILEGES; [enter]
- EXIT [enter]
- There is no semi-colon after EXIT.
- This is:
- Creating the database for mcmmo.
- Creating a user with a password.
- Letting MySQL know to give that user permission to that database.
- Committing the changes (I think... something kinda like that).
- Exiting.
- MCmmo will create the tables and fill in the data upon launching bukkit.
- Start up bukkit and you're on your way... hopefully.
Add Comment
Please, Sign In to add comment