Running mysql in docker container granting privileges to all hosts for user and still unable to connect in...
I'm starting a locally running instance of docker, creating a user and trying to run commands using the local mysql client after granting privileges and it is saying I can't connect from the jenkins node to the docker container. I'm using wildcard for grants to the user on all hosts and all permissions.
I ran this script locally and it worked and connected no issues, currently when I run in Jenkins I get permission denied for the commands:
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
echo "good"
jenkins outputs
21:33:53 [-clinical-codes_add-jenkins-QLNQBBZFU3HAJI4FX6MOTIRSLH5SPBXG5JYMD5OJHQX6KS2JPKCA] Running shell script
21:33:53 Remove Docker Contianer
21:33:54 1fc9f9846888
21:33:54 Check Docker containers
21:33:54 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21:33:54 9a002c63aa48 anchore/jenkins:latest "/bin/sh -c /root/up…" 6 weeks ago Exited (255) About an hour ago jenkins_anchore
21:33:54 5.7: Pulling from mysql/mysql-server
21:33:54 Digest: sha256:79d65bf4360056b0709b4a1c4996f7ef8265ae6ca67462a8570ac1fa0855758b
21:33:54 Status: Image is up to date for mysql/mysql-server:5.7
21:33:54 9a26401c25c61ab30cc744f551672e476a3fc95bea48e4f532afc596a601bd53
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 [Entrypoint] MySQL Docker Image 5.7.24-1.1.8
21:34:28 [Entrypoint] Initializing database
21:34:28 [Entrypoint] Database initialized
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
21:34:28
21:34:28 [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
21:34:28
21:34:28 [Entrypoint] Server shut down
21:34:28
21:34:28 [Entrypoint] MySQL init process done. Ready for start up.
21:34:28
21:34:28 [Entrypoint] Starting MySQL 5.7.24-1.1.8
21:34:28 good
I'm obviously obfuscating the actual user and password I'm using for the stack post.
if [ -z $(docker ps -a | grep mysql | cut -d " " -f 1) ]; then
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
else
echo "Remove Docker Contianer"
docker rm -f $(docker ps -a | grep mysql | cut -d " " -f 1)
echo "Check Docker containers"
docker ps -a
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
fi
docker exec -it mysql mysql --user root --password=password -D global -e "CREATE USER 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "UPDATE mysql.user SET Super_Priv='Y' WHERE user='user' AND host='%';"
docker exec -it mysql mysql --user root --password=password -D global -e "FLUSH PRIVILEGES;"
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
What am I missing here?
mysql docker jenkins
add a comment |
I'm starting a locally running instance of docker, creating a user and trying to run commands using the local mysql client after granting privileges and it is saying I can't connect from the jenkins node to the docker container. I'm using wildcard for grants to the user on all hosts and all permissions.
I ran this script locally and it worked and connected no issues, currently when I run in Jenkins I get permission denied for the commands:
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
echo "good"
jenkins outputs
21:33:53 [-clinical-codes_add-jenkins-QLNQBBZFU3HAJI4FX6MOTIRSLH5SPBXG5JYMD5OJHQX6KS2JPKCA] Running shell script
21:33:53 Remove Docker Contianer
21:33:54 1fc9f9846888
21:33:54 Check Docker containers
21:33:54 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21:33:54 9a002c63aa48 anchore/jenkins:latest "/bin/sh -c /root/up…" 6 weeks ago Exited (255) About an hour ago jenkins_anchore
21:33:54 5.7: Pulling from mysql/mysql-server
21:33:54 Digest: sha256:79d65bf4360056b0709b4a1c4996f7ef8265ae6ca67462a8570ac1fa0855758b
21:33:54 Status: Image is up to date for mysql/mysql-server:5.7
21:33:54 9a26401c25c61ab30cc744f551672e476a3fc95bea48e4f532afc596a601bd53
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 [Entrypoint] MySQL Docker Image 5.7.24-1.1.8
21:34:28 [Entrypoint] Initializing database
21:34:28 [Entrypoint] Database initialized
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
21:34:28
21:34:28 [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
21:34:28
21:34:28 [Entrypoint] Server shut down
21:34:28
21:34:28 [Entrypoint] MySQL init process done. Ready for start up.
21:34:28
21:34:28 [Entrypoint] Starting MySQL 5.7.24-1.1.8
21:34:28 good
I'm obviously obfuscating the actual user and password I'm using for the stack post.
if [ -z $(docker ps -a | grep mysql | cut -d " " -f 1) ]; then
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
else
echo "Remove Docker Contianer"
docker rm -f $(docker ps -a | grep mysql | cut -d " " -f 1)
echo "Check Docker containers"
docker ps -a
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
fi
docker exec -it mysql mysql --user root --password=password -D global -e "CREATE USER 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "UPDATE mysql.user SET Super_Priv='Y' WHERE user='user' AND host='%';"
docker exec -it mysql mysql --user root --password=password -D global -e "FLUSH PRIVILEGES;"
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
What am I missing here?
mysql docker jenkins
add a comment |
I'm starting a locally running instance of docker, creating a user and trying to run commands using the local mysql client after granting privileges and it is saying I can't connect from the jenkins node to the docker container. I'm using wildcard for grants to the user on all hosts and all permissions.
I ran this script locally and it worked and connected no issues, currently when I run in Jenkins I get permission denied for the commands:
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
echo "good"
jenkins outputs
21:33:53 [-clinical-codes_add-jenkins-QLNQBBZFU3HAJI4FX6MOTIRSLH5SPBXG5JYMD5OJHQX6KS2JPKCA] Running shell script
21:33:53 Remove Docker Contianer
21:33:54 1fc9f9846888
21:33:54 Check Docker containers
21:33:54 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21:33:54 9a002c63aa48 anchore/jenkins:latest "/bin/sh -c /root/up…" 6 weeks ago Exited (255) About an hour ago jenkins_anchore
21:33:54 5.7: Pulling from mysql/mysql-server
21:33:54 Digest: sha256:79d65bf4360056b0709b4a1c4996f7ef8265ae6ca67462a8570ac1fa0855758b
21:33:54 Status: Image is up to date for mysql/mysql-server:5.7
21:33:54 9a26401c25c61ab30cc744f551672e476a3fc95bea48e4f532afc596a601bd53
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 [Entrypoint] MySQL Docker Image 5.7.24-1.1.8
21:34:28 [Entrypoint] Initializing database
21:34:28 [Entrypoint] Database initialized
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
21:34:28
21:34:28 [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
21:34:28
21:34:28 [Entrypoint] Server shut down
21:34:28
21:34:28 [Entrypoint] MySQL init process done. Ready for start up.
21:34:28
21:34:28 [Entrypoint] Starting MySQL 5.7.24-1.1.8
21:34:28 good
I'm obviously obfuscating the actual user and password I'm using for the stack post.
if [ -z $(docker ps -a | grep mysql | cut -d " " -f 1) ]; then
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
else
echo "Remove Docker Contianer"
docker rm -f $(docker ps -a | grep mysql | cut -d " " -f 1)
echo "Check Docker containers"
docker ps -a
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
fi
docker exec -it mysql mysql --user root --password=password -D global -e "CREATE USER 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "UPDATE mysql.user SET Super_Priv='Y' WHERE user='user' AND host='%';"
docker exec -it mysql mysql --user root --password=password -D global -e "FLUSH PRIVILEGES;"
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
What am I missing here?
mysql docker jenkins
I'm starting a locally running instance of docker, creating a user and trying to run commands using the local mysql client after granting privileges and it is saying I can't connect from the jenkins node to the docker container. I'm using wildcard for grants to the user on all hosts and all permissions.
I ran this script locally and it worked and connected no issues, currently when I run in Jenkins I get permission denied for the commands:
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
echo "good"
jenkins outputs
21:33:53 [-clinical-codes_add-jenkins-QLNQBBZFU3HAJI4FX6MOTIRSLH5SPBXG5JYMD5OJHQX6KS2JPKCA] Running shell script
21:33:53 Remove Docker Contianer
21:33:54 1fc9f9846888
21:33:54 Check Docker containers
21:33:54 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21:33:54 9a002c63aa48 anchore/jenkins:latest "/bin/sh -c /root/up…" 6 weeks ago Exited (255) About an hour ago jenkins_anchore
21:33:54 5.7: Pulling from mysql/mysql-server
21:33:54 Digest: sha256:79d65bf4360056b0709b4a1c4996f7ef8265ae6ca67462a8570ac1fa0855758b
21:33:54 Status: Image is up to date for mysql/mysql-server:5.7
21:33:54 9a26401c25c61ab30cc744f551672e476a3fc95bea48e4f532afc596a601bd53
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 the input device is not a TTY
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 mysql: [Warning] Using a password on the command line interface can be insecure.
21:34:28 ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
21:34:28 [Entrypoint] MySQL Docker Image 5.7.24-1.1.8
21:34:28 [Entrypoint] Initializing database
21:34:28 [Entrypoint] Database initialized
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
21:34:28 Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
21:34:28
21:34:28 [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
21:34:28
21:34:28 [Entrypoint] Server shut down
21:34:28
21:34:28 [Entrypoint] MySQL init process done. Ready for start up.
21:34:28
21:34:28 [Entrypoint] Starting MySQL 5.7.24-1.1.8
21:34:28 good
I'm obviously obfuscating the actual user and password I'm using for the stack post.
if [ -z $(docker ps -a | grep mysql | cut -d " " -f 1) ]; then
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
else
echo "Remove Docker Contianer"
docker rm -f $(docker ps -a | grep mysql | cut -d " " -f 1)
echo "Check Docker containers"
docker ps -a
docker pull mysql/mysql-server:5.7
docker run --name mysql -e MYSQL_DATABASE="global" -e MYSQL_ROOT_HOST="127.0.0.1" -e MYSQL_ROOT_PASSWORD="password" -p 3306:3306 -d mysql/mysql-server:5.7
sleep 30
fi
docker exec -it mysql mysql --user root --password=password -D global -e "CREATE USER 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password';"
docker exec -it mysql mysql --user root --password=password -D global -e "UPDATE mysql.user SET Super_Priv='Y' WHERE user='user' AND host='%';"
docker exec -it mysql mysql --user root --password=password -D global -e "FLUSH PRIVILEGES;"
mysql --user="user" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="user" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -D global -h 127.0.0.1 -P 3306 -e "show databases;"
mysql --user="root" --password="password" -h 127.0.0.1 -P 3306 -e "show databases;"
docker logs mysql
What am I missing here?
mysql docker jenkins
mysql docker jenkins
asked Nov 12 '18 at 21:44
Grant ZukelGrant Zukel
414629
414629
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270544%2frunning-mysql-in-docker-container-granting-privileges-to-all-hosts-for-user-and%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270544%2frunning-mysql-in-docker-container-granting-privileges-to-all-hosts-for-user-and%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown