- 0
mangos two mangostwo DB setup - Possible Issue with code in InstallDatabases.sh - Access denied for user 'mangos'@'localhost' (using password: YES)
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use
Question
lauren_eily
I have successfully cloned, built, installed the mangostwo project and extracted all of the map data (I think). However, I am hitting a snag on the DB setup.
I am using this guide:
I've installed mysql-server with
Then I switched to root and loaded up mysql to do this command (which, BTW, "privileges" is misspelled in the guide:
I exited, and did
(in the guide, the pictures are dead links, so I can't see what Database options to use, but I did mysql host name = localhost, mysql user name = mangos, mysql port = 3306, then I typed in my mangos linux user's password (which I also manually set the mangos mysql user's password to). Then I did all of the default database names.
Then, I get a big string of these errors:
Importing file World/Setup/FullDB/spell_learn_spell.sql ERROR 1045 (28000): Access denied for user 'mangos'@'localhost' (using password: YES) File World/Setup/FullDB/spell_learn_spell.sql imported Importing file World/Setup/FullDB/spell_loot_template.sql ERROR 1045 (28000): Access denied for user 'mangos'@'localhost' (using password: YES) File World/Setup/FullDB/spell_loot_template.sql imported
I looked at the InstallDatabases.sh script, and I feel like there is an issue.
Here is the prompt for password. 1) It looks like the script doesn't even store the password in a variable. And 2) mysql_config_editor DEFINITELY prompts the user for a password if you use the --password flag like that. So... I feel like I'm totally missing something. Thoughts?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now