Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of Centos Docker Image of mysql5.7 created by Dockerfile

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The following is mainly to bring you a detailed explanation of the Centos Docker image of Dockerfile creating mysql5.7. I hope that the detailed explanation of Dockerfile creating mysql5.7 Centos Docker image can bring you practical use, which is also my main purpose of editing this article. All right, don't talk too much nonsense, let's just read the following.

FROM hub.c..com/library/.gz / -... gz / usr/-y-C++ cmake bison-devel ncurses-&&groupadd mysql & & useradd-r-g mysql- s / bin/mysql_shell-M mysql & &-p / opt/mysql & &-p / var/log/mysql & &-p / data/mysql/&&-p / data/mysql/config & & cd / usr/local/mysql-. & & cmake. -DCMAKE_INSTALL_PREFIX=/opt/mysql-DMYSQL_DATADIR=/data/mysql/data-DSYSCONFDIR=/etc\-DMYSQL_USER=mysql-DWITH_MYISAM_STORAGE_ENGINE=-DWITH_INNOBASE_STORAGE_ENGINE=-DWITH_ARCHIVE_STORAGE_ENGINE=\-DWITH_MEMORY_STORAGE_ENGINE=-DWITH_READLINE=-DMYSQL_UNIX_ADDR=/data/mysql/config/mysql.sock-DMYSQL_TCP_PORT=-DENABLED_LOCAL_INFILE=-DENABLE_DOWNLOADS=-DWITH_PARTITION_STORAGE_ENGINE=-DEXTRA_CHARSETS=all-DDEFAULT_CHARSET=utf8\- DDEFAULT_COLLATION=utf8_general_ci-DWITH_DEBUG=-DMYSQL_MAINTAINER_MODE=-DWITH_BLACKHOLE_STORAGE_ENGINE=-DDOWNLOAD_BOOST=-DWITH_BOOST=/opt/boost_1_59_0 &-rf / usr/local/mysql-./ > > / etc/profile & & source / etc/&& mysql:mysql / opt/mysql & &-R mysql:mysql / data & &-R mysql:mysql / data/mysql/data & &-R mysql:mysql / data / mysql/config & &-R mysql:mysql / var/log/mysql/ & & source / etc/profile & & mysqld-- initialize-insecure-- user=mysql-- basedir=/opt/mysql-- datadir=/data/mysql/data-- pid-=/var/log/mysql/mysql.pid-- socket=/data/mysql/config/mysql.sock & & / opt/mysql/support-files/mysql.server / etc/init.d/mysqld & & + x / etc/init.d/--add mysqld & &

For the above Centos Docker image details about Dockerfile creating mysql5.7, do you find it very helpful? If you need to know more, please continue to follow our industry information. I'm sure you'll like it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report