• InstallDatabases scripts does not create mangos user


    tbayart
    • Status: Completed Type: Database Category: Minor Version: 21.11 (Current Master Branch)
      Implemented Version: 21.11
      Milestone: 21 Priority: New / Assign Priority
      Related to:

    Hi,

    I'm testing building mangos from scratch under windows system.

    I ran the "IntallDatabases.bat" script and when I launched realmd.exe, it says "Access denied for user 'mangos'@'localhost' to database 'realmd'.

    I checked in the database,  then the script and figured out that the 'mangos' user is not performed by the script.

    I also checked the IntallDatabases.sh script, same issue.

    I suggest a section for 'mangos' user creation and privileges should be added.

    Edited by tbayart





    User Feedback


    That sounds like a great suggestion. Is this perhaps something you could help put together? :D

     

    For now I would  adjust your realmd.conf file accordingly to the user/password set up for your database.

    example: (default)
    LoginDatabaseInfo      = "127.0.0.1;3306;mangos;mangos;realmd"

    Change to

    LoginDatabaseInfo      = "127.0.0.1;3306;root;password;realmd"

     

    Inaddition, this login information should reflect your mangosd.conf  file

    Share this comment


    Link to comment
    Share on other sites

    I modified IntallDatabases.bat and created a pull request.

    Please let me know if this way to work is fine

    Share this comment


    Link to comment
    Share on other sites

    Changed Status to Completed

    Changed Version to 21.11 (Current Dev21)

    Changed Implemented Version to 21.11

    Changed Milestone to 21

    Share this comment


    Link to comment
    Share on other sites


    Guest
    This is now closed for further comments

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®