wangxian / alpine-mysql Goto Github PK
View Code? Open in Web Editor NEWa docker image base on alpine with MySQL/MariaDB
License: MIT License
a docker image base on alpine with MySQL/MariaDB
License: MIT License
Hello,
is there a simple way to update the MariaDB.
In the container run the version 10.1.19 .
the latest version is 10.3 .
Can you help.
Your sincerly
Stephan
2017-01-16 4:41:29 140274431068968 [ERROR] Can't start server : Bind on unix socket: No such file or directory
2017-01-16 4:41:29 140274431068968 [ERROR] Do you already have another mysqld server running on socket: /run/mysqld/mysqld.sock ?
2017-01-16 4:41:29 140274431068968 [ERROR] Aborting
如何在数据库安装好后导入已有的sql数据?在tmpfile中无法使用source
FROM alpine:3.13.5
LABEL maintainer="应卓 <[email protected]>"
ENV MYSQL_HOME=/opt/mysql
ENV PATH=$PATH:$MYSQL_HOME/bin
ENV MYSQL_DATA_DIR=/data
COPY ./docker-entrypoint.sh /bin/docker-entrypoint.sh
COPY ./my.cnf /etc/my.cnf
RUN addgroup mysql && \
adduser mysql --disabled-password --gecos "" --no-create-home --ingroup "mysql" mysql && \
apk add --update mysql mysql-client && \
rm -rf /var/cache/apk/* && \
chmod +x /bin/docker-entrypoint.sh
EXPOSE 3306
ENTRYPOINT ["docker-entrypoint.sh"]
Hi, here is my Dockerfile. But I got MariaDB finally?!
你好,参考您的Dockerfile,我最后得到是一个MariaDB发行版? 如果我想要一个纯粹的Oracle-MySQL 8.0.x 版本,是不是只有自己用二进制解压缩一条路可以走了啊? 当然我也是想用alpine
作为基础容器。
Hello,
i start my container with:
docker run --rm --name mysql -p 3306:3306 -v C:/xampp1/htdocs/docker-mysql:/app -e MYSQL_DATABASE=admin -e MYSQL_USER=tony -e MYSQL_PASSWORD=123456 -e MYSQL_ROOT_PASSWORD=111111 wangxian/alpine-mysql
after same time i stop the container:
docker container stop mysql
when i start the container with the first command:
docker run --rm --name mysql -p 3306:3306 -v C:/xampp1/htdocs/docker-mysql:/app -e MYSQL_DATABASE=admin -e MYSQL_USER=tony -e MYSQL_PASSWORD=123456 -e MYSQL_ROOT_PASSWORD=111111 wangxian/alpine-mysql
i see the errormessage:
2019-05-01 14:18:06 139782915623720 [Note] Server socket created on IP: '::'.
2019-05-01 14:18:06 139782915623720 [ERROR] Can't start server : Bind on unix socket: No such file or directory
2019-05-01 14:18:06 139782915623720 [ERROR] Do you already have another mysqld server running on socket: /run/mysqld/mysqld.sock ?
2019-05-01 14:18:06 139782915623720 [ERROR] Aborting
Can you help
Your sincerly Stephan
[ERROR] Can't start server : Bind on unix socket: No such file or directory
[ERROR] Do you already have another mysqld server running on socket: /run/mysqld/mysqld.sock ?
[ERROR] Aborting
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.