Not the answer you need?
Register and ask your own question!

Percona 5.6 Dockerfile, automatic creation of databases

holalaholala EntrantCurrent User Role Novice

I'm trying to provision docker image based on percona 5.6:
FROM percona:5.6
RUN mysql -e "CREATE USER [email protected]'' IDENTIFIED BY 'integration';" Unfortunately, it produces:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [0mThe command '/bin/sh -c mysql -e "CREATE USER [email protected]'' IDENTIFIED BY 'integration';"' returned a non-zero code: 1
Same effect with mysql -h

Would appreciate help.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.