Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix service exit (mySQL) #92

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JosephSemrai
Copy link

@JosephSemrai JosephSemrai commented Dec 22, 2019

Previous Behavior

WindowsTerminal_Uy6AJTkmOR
The terminal would hang on the process, and sometimes, the Docker container would not be killed.

New Behavior

Code_RxZsO57pkl

Upon detecting an exec_die event, we will attach to the container, pipe the output to the console, and send a command that shuts mysqld down, solving the previous issue of it not wanting to shut down. We then send a stop signal to the container which gracefully attempts to shut down all other daemons and services (and serves as a fallback were the command above not to work), and then exit the process using the previous exit() function.

Related Issue

closes #60

Testing and Maintenance

  • Tested through execution (see screenshots)
  • Follows project code style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MySQL server not existing from the command line application
1 participant