fred-drake / TrinityCoreDocker

A dockerized container of the TrinityCore World of Warcraft private server
35 stars 16 forks source link

Could not build client_data at 3.3.5-TrinityBots version. #9

Closed hevi1991 closed 1 year ago

hevi1991 commented 1 year ago

All in one.

then I used code:

docker run -it --rm -v <WOW CLIENT VOLUME>:/wowclient -v <DATA VOLUME>:/data fdrake/trinitycore:3.3.5 --builddata

get client_data. I put it in folder. It works.

MySQL connect failed.

I had used mysql-client to connect, but get:

# mysql --port=63306 -h"0.0.0.0" -root -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2

63306 is MYSQL_PORT.

Very thank you, :D It is a awesome project.

hevi1991 commented 1 year ago

I found the reason of MySQL Failed connection; Needs to comment the 28th line at /etc/mysql/mariadb.conf.d/50-server.cnf in docker container.

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address            = 127.0.0.1