Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] So i have managed to get stuck in a weird place. I have a working ubuntu container with mysql 8.0.

[DiscordArchive] So i have managed to get stuck in a weird place. I have a working ubuntu container with mysql 8.0.

[DiscordArchive] So i have managed to get stuck in a weird place. I have a working ubuntu container with mysql 8.0.

rektbyfaith
Administrator
0
10-29-2023, 04:04 AM
#1
Archived author: Neverborn • Posted: 2023-10-29T04:04:06.530000+00:00
Original source

So i have managed to get stuck in a weird place. I have a working ubuntu container with mysql 8.0. i have the 3 tables loaded and the acore account and everything (tho no data yet) But every time i start the container i have to then run 'service mysql start' to get sql up. I would like it to start automatically with the container. So i have a startup script and i am trying to add a line to start mysql, but so far no luck. Any idea how to make this work?
rektbyfaith
10-29-2023, 04:04 AM #1

Archived author: Neverborn • Posted: 2023-10-29T04:04:06.530000+00:00
Original source

So i have managed to get stuck in a weird place. I have a working ubuntu container with mysql 8.0. i have the 3 tables loaded and the acore account and everything (tho no data yet) But every time i start the container i have to then run 'service mysql start' to get sql up. I would like it to start automatically with the container. So i have a startup script and i am trying to add a line to start mysql, but so far no luck. Any idea how to make this work?

rektbyfaith
Administrator
0
10-29-2023, 04:05 AM
#2
Archived author: Neverborn • Posted: 2023-10-29T04:05:58.065000+00:00
Original source

my script = #!/bin/bash
echo This is startup script
/etc/init.d/mysql start
echo The End
rektbyfaith
10-29-2023, 04:05 AM #2

Archived author: Neverborn • Posted: 2023-10-29T04:05:58.065000+00:00
Original source

my script = #!/bin/bash
echo This is startup script
/etc/init.d/mysql start
echo The End

rektbyfaith
Administrator
0
10-29-2023, 04:11 AM
#3
Archived author: Neverborn • Posted: 2023-10-29T04:11:06.910000+00:00
Original source

The script does start, i see my echo lines in the container log window. But SQL doesnt seem to start successfully and the container shuts down after a couple minutes.
rektbyfaith
10-29-2023, 04:11 AM #3

Archived author: Neverborn • Posted: 2023-10-29T04:11:06.910000+00:00
Original source

The script does start, i see my echo lines in the container log window. But SQL doesnt seem to start successfully and the container shuts down after a couple minutes.

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