[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.
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?
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
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.