-
Notifications
You must be signed in to change notification settings - Fork 60
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
Should automatically shutdown the Default MySQL before setup a MySQL #2
Comments
@Keyflight Thanks. Curious why the default port doesn't work. |
@Keyflight @fbjork Just found this out: looks like mysql is already installed on ubuntu (version 5.7) with root user password "root". Actually quite a bit of software is available: All you need to do is create your database like so: - name: Create DB
run: mysql -uroot -proot -e "CREATE DATABASE dbname;" |
Hi there, Sorry for late reply. |
@mazzarito You're right, MySQL has been installed and started by ubuntu, so the port 3306 has been bound by default MySQL that is outer than Docker. I will add a command try to stop the default MySQL of Ubuntu before set-up Docker MySQL. |
For now, there is no built-in functionality to execute a command on the host before docker build (i.e., no "hooks" to trigger scripts on the host). @fbjork @Keyflight So we should run a script by other Actions Step that will shutdown the Default MySQL before we set-up MySQL. Or just use the Default MySQL. I have added its description to README, it is not a solution but it may be solve this problem. Keep this issue, maybe we can fix this in future. |
GitHub Actions Breaking Change: |
I get this error when I try to setup a mysql instance in my Actions workflow. Any idea what I'm doing wrong?
docker: Error response from daemon: driver failed programming external connectivity on endpoint busy_mcnulty (e90f9b113c26a0772d43fe413b6c5755204a5459a16817a6ff398ca003a859ee): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use.
Here's my workflow:
The text was updated successfully, but these errors were encountered: