Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hi.

[DiscordArchive] Hi.

[DiscordArchive] Hi.

rektbyfaith
Administrator
0
01-04-2025, 10:23 AM
#1
Archived author: NitramDday • Posted: 2025-01-04T10:23:26.402000+00:00
Original source

Hi.
how did you manage to change the passwords?
would you mind help me with some pointers?
rektbyfaith
01-04-2025, 10:23 AM #1

Archived author: NitramDday • Posted: 2025-01-04T10:23:26.402000+00:00
Original source

Hi.
how did you manage to change the passwords?
would you mind help me with some pointers?

rektbyfaith
Administrator
0
01-04-2025, 10:30 AM
#2
Archived author: Erwin • Posted: 2025-01-04T10:30:17.311000+00:00
Original source

I used HeidiDB to set a new password for 'root' in the running database server. After that, just set the environment variable before your docker compose: MYSQL_ROOT_PASSWORD="my password" docker-compose up -d --build
rektbyfaith
01-04-2025, 10:30 AM #2

Archived author: Erwin • Posted: 2025-01-04T10:30:17.311000+00:00
Original source

I used HeidiDB to set a new password for 'root' in the running database server. After that, just set the environment variable before your docker compose: MYSQL_ROOT_PASSWORD="my password" docker-compose up -d --build

rektbyfaith
Administrator
0
01-04-2025, 10:32 AM
#3
Archived author: Erwin • Posted: 2025-01-04T10:32:25.834000+00:00
Original source

You can also set up a .env file instead, there a template with info in the source tree somewhere.
rektbyfaith
01-04-2025, 10:32 AM #3

Archived author: Erwin • Posted: 2025-01-04T10:32:25.834000+00:00
Original source

You can also set up a .env file instead, there a template with info in the source tree somewhere.

rektbyfaith
Administrator
0
01-04-2025, 10:37 AM
#4
Archived author: NitramDday • Posted: 2025-01-04T10:37:30.038000+00:00
Original source

ah, ok. So first run the docker and set password.
where is the environment variable?
in the docker-compose.yml?

i got pointed to not edit the docker-compose file (use override) and that the env file is conf/dist/env.docker.

Did you change in the docker-compose?
https://github.com/azerothcore/azerothco...ompose.yml

is it this part?
environment:
- MYSQL_ROOT_PASSWORD=${DOCKER_DB_ROOT_PASSWORD:-password}
[Embed: azerothcore-wotlk/docker-compose.yml at master · azerothcore/azerot...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...ompose.yml
rektbyfaith
01-04-2025, 10:37 AM #4

Archived author: NitramDday • Posted: 2025-01-04T10:37:30.038000+00:00
Original source

ah, ok. So first run the docker and set password.
where is the environment variable?
in the docker-compose.yml?

i got pointed to not edit the docker-compose file (use override) and that the env file is conf/dist/env.docker.

Did you change in the docker-compose?
https://github.com/azerothcore/azerothco...ompose.yml

is it this part?
environment:
- MYSQL_ROOT_PASSWORD=${DOCKER_DB_ROOT_PASSWORD:-password}
[Embed: azerothcore-wotlk/docker-compose.yml at master · azerothcore/azerot...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...ompose.yml

rektbyfaith
Administrator
0
01-04-2025, 10:38 AM
#5
Archived author: Erwin • Posted: 2025-01-04T10:38:46.406000+00:00
Original source

I didn't change anything, I set the environment variable.
rektbyfaith
01-04-2025, 10:38 AM #5

Archived author: Erwin • Posted: 2025-01-04T10:38:46.406000+00:00
Original source

I didn't change anything, I set the environment variable.

rektbyfaith
Administrator
0
01-04-2025, 10:39 AM
#6
Archived author: Erwin • Posted: 2025-01-04T10:39:19.314000+00:00
Original source

(as I typed out verbatim)
rektbyfaith
01-04-2025, 10:39 AM #6

Archived author: Erwin • Posted: 2025-01-04T10:39:19.314000+00:00
Original source

(as I typed out verbatim)

rektbyfaith
Administrator
0
01-04-2025, 10:41 AM
#7
Archived author: Erwin • Posted: 2025-01-04T10:41:57.728000+00:00
Original source

If you have an existing database with the default password already running and don't want to delete your database, you need to update it there. If you start from scratch, just set the variable and run docker-compose.
rektbyfaith
01-04-2025, 10:41 AM #7

Archived author: Erwin • Posted: 2025-01-04T10:41:57.728000+00:00
Original source

If you have an existing database with the default password already running and don't want to delete your database, you need to update it there. If you start from scratch, just set the variable and run docker-compose.

rektbyfaith
Administrator
0
01-04-2025, 10:43 AM
#8
Archived author: Erwin • Posted: 2025-01-04T10:43:28.189000+00:00
Original source

Thing is, that you need to do that every time when (re) building. That may get annoying, so that's when an env file may be handy.
rektbyfaith
01-04-2025, 10:43 AM #8

Archived author: Erwin • Posted: 2025-01-04T10:43:28.189000+00:00
Original source

Thing is, that you need to do that every time when (re) building. That may get annoying, so that's when an env file may be handy.

rektbyfaith
Administrator
0
01-04-2025, 10:43 AM
#9
Archived author: Erwin • Posted: 2025-01-04T10:43:55.072000+00:00
Original source

(but is not required)
rektbyfaith
01-04-2025, 10:43 AM #9

Archived author: Erwin • Posted: 2025-01-04T10:43:55.072000+00:00
Original source

(but is not required)

rektbyfaith
Administrator
0
01-04-2025, 10:45 AM
#10
Archived author: NitramDday • Posted: 2025-01-04T10:45:14.499000+00:00
Original source

ah!
did not know i could run it like that.
Thank you for helping. I will try and see if i can get it to work.
rektbyfaith
01-04-2025, 10:45 AM #10

Archived author: NitramDday • Posted: 2025-01-04T10:45:14.499000+00:00
Original source

ah!
did not know i could run it like that.
Thank you for helping. I will try and see if i can get it to work.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)