xiaochaoren / k8s-mysql-cluster Goto Github PK
View Code? Open in Web Editor NEWThis project contains deployment files to construct a mysql cluster on kubernetes
License: Apache License 2.0
This project contains deployment files to construct a mysql cluster on kubernetes
License: Apache License 2.0
你好,create-mysql-account.sh这个执行有些疑问;
创建过程
首相创建mysql账号
sh create-mysql-account.sh
其次使用k8s命名进行部署
sh create-innodb-cluster.sh
如果按照先执行 create-mysql-account.sh ,这时集群还没创建 mysql -uroot -p 等语句执行不了;
pod 里log
2020-04-13 04:20:16+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.18-1debian9 started.
2020-04-13 04:20:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2020-04-13 04:20:16+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.18-1debian9 started.
2020-04-13 04:20:16+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified
You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
是不是没有执行 create-mysql-account.sh 的原因;谢谢
你好,percona-xtrabackup镜像的 dockerfile 可以分享一下么,谢谢
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.