Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Why does the ac-database not mount to the host system?

[DiscordArchive] Why does the ac-database not mount to the host system?

[DiscordArchive] Why does the ac-database not mount to the host system?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
07-28-2023, 01:34 PM
#1
Archived author: volek • Posted: 2023-07-28T13:34:46.370000+00:00
Original source

Why does the ac-database not mount to the host system?
rektbyfaith
07-28-2023, 01:34 PM #1

Archived author: volek • Posted: 2023-07-28T13:34:46.370000+00:00
Original source

Why does the ac-database not mount to the host system?

rektbyfaith
Administrator
0
07-28-2023, 01:35 PM
#2
Archived author: mynameismeat • Posted: 2023-07-28T13:35:04.299000+00:00
Original source

It's not abnormal to do that for a database in docker. I dont have an exact reason, though
rektbyfaith
07-28-2023, 01:35 PM #2

Archived author: mynameismeat • Posted: 2023-07-28T13:35:04.299000+00:00
Original source

It's not abnormal to do that for a database in docker. I dont have an exact reason, though

rektbyfaith
Administrator
0
07-28-2023, 01:35 PM
#3
Archived author: mynameismeat • Posted: 2023-07-28T13:35:37.463000+00:00
Original source

I'm pretty sure there's an env var you can set to make it not do that
rektbyfaith
07-28-2023, 01:35 PM #3

Archived author: mynameismeat • Posted: 2023-07-28T13:35:37.463000+00:00
Original source

I'm pretty sure there's an env var you can set to make it not do that

rektbyfaith
Administrator
0
07-28-2023, 01:37 PM
#4
Archived author: mynameismeat • Posted: 2023-07-28T13:37:16.252000+00:00
Original source

MySQL's underlying data files aren't normally something you'd mess with anyway. I personally wouldn't say there's a benefit to bind-mounting the mysql datadir, but maybe there's something I'm not considering here
rektbyfaith
07-28-2023, 01:37 PM #4

Archived author: mynameismeat • Posted: 2023-07-28T13:37:16.252000+00:00
Original source

MySQL's underlying data files aren't normally something you'd mess with anyway. I personally wouldn't say there's a benefit to bind-mounting the mysql datadir, but maybe there's something I'm not considering here

rektbyfaith
Administrator
0
07-28-2023, 01:37 PM
#5
Archived author: Foe • Posted: 2023-07-28T13:37:41.946000+00:00
Original source

There's no real reason to, except maybe the my.cnf
rektbyfaith
07-28-2023, 01:37 PM #5

Archived author: Foe • Posted: 2023-07-28T13:37:41.946000+00:00
Original source

There's no real reason to, except maybe the my.cnf

rektbyfaith
Administrator
0
07-28-2023, 01:38 PM
#6
Archived author: Foe • Posted: 2023-07-28T13:38:21.036000+00:00
Original source

But ideally the mysql container should run as a service to the other container
rektbyfaith
07-28-2023, 01:38 PM #6

Archived author: Foe • Posted: 2023-07-28T13:38:21.036000+00:00
Original source

But ideally the mysql container should run as a service to the other container

rektbyfaith
Administrator
0
07-28-2023, 01:40 PM
#7
Archived author: mynameismeat • Posted: 2023-07-28T13:40:23.145000+00:00
Original source

the container's readme[0] recommends to bind `/etc/mysql/conf.d` rather than the my.cnf in `/var/lib/mysql`, so imo bind-mounting the datadir probably wouldn't be useful at all

<https://hub.docker.com/_/mysql>
rektbyfaith
07-28-2023, 01:40 PM #7

Archived author: mynameismeat • Posted: 2023-07-28T13:40:23.145000+00:00
Original source

the container's readme[0] recommends to bind `/etc/mysql/conf.d` rather than the my.cnf in `/var/lib/mysql`, so imo bind-mounting the datadir probably wouldn't be useful at all

<https://hub.docker.com/_/mysql>

rektbyfaith
Administrator
0
07-28-2023, 01:41 PM
#8
Archived author: Foe • Posted: 2023-07-28T13:41:03.703000+00:00
Original source

Yeah
rektbyfaith
07-28-2023, 01:41 PM #8

Archived author: Foe • Posted: 2023-07-28T13:41:03.703000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
07-28-2023, 01:54 PM
#9
Archived author: volek • Posted: 2023-07-28T13:54:32.925000+00:00
Original source

isn't the risk that if the files are not saved to the host system and the volume is disposed of its a mysql wipe?
rektbyfaith
07-28-2023, 01:54 PM #9

Archived author: volek • Posted: 2023-07-28T13:54:32.925000+00:00
Original source

isn't the risk that if the files are not saved to the host system and the volume is disposed of its a mysql wipe?

rektbyfaith
Administrator
0
07-28-2023, 01:54 PM
#10
Archived author: volek • Posted: 2023-07-28T13:54:54.927000+00:00
Original source

(Reason I ask is this just happened to me yesterday)
rektbyfaith
07-28-2023, 01:54 PM #10

Archived author: volek • Posted: 2023-07-28T13:54:54.927000+00:00
Original source

(Reason I ask is this just happened to me yesterday)

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)