-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pack web files and mysql config files into binaries #5502
Comments
There is an additional runtime usage for |
I'm concerned about embedding That file contains insecure defaults (password-less users). We don't yet support generating passwords automatically; our only, admittedly poor, mitigation right now is a strong recommendation that users customize We also don't yet support injecting "extra init_db.sql" in the style of |
I agree it is poor to expect users customize it. I don't see a material difference between asking a user to edit the file before running the bootstrap and setting passwords in MySQL after bootstrapping. I would like to see us auto-generate passwords and report them in the output. But I see this as a separate issue. |
How would setting the MySQL-level passwords later work? I don't see a good way we can recommend users to do that across all tablets and have things still work. |
For MySQL, an identity is the combination of a user + the host they are coming from. So there are two users we need to be aware of which allow remote login:
The orchestrator configuration is really risky since it includes
|
Feature Description
The examples currently have to refer to VTROOT and VTTOP, because they need to know how to start vtctld while referencing the correct web files:
And then:
There are several technologies that allow you to embed web files and produce a single binary. We should look at doing this for both the web files, and
config/mycnf/*
andconfig/init_db.sql
.This will simplify the installation, similar to how MySQL switched from
mysql_install_db
bootstrapping the server tomysqld --initialize
(embedded in the server).Use Case(s)
Simplified distribution and configuration. This will soon be the only reason that VTTOP and VTROOT need to be specified outside of compile time.
The text was updated successfully, but these errors were encountered: