Thank you.
That worked.
Now I'd like to know how to implement a different vttablet topology.
The mysqld that comes in the docker is apparently 5.7.21
I'd like to test it with a single percona 5.6, running on the main OS outside of the docker.
I suspect that modifying the vttablet-up.sh script for this is probably a bad idea, and instead I should just have a simple startup script that calls /vt/bin/vttablet with the appropriate parameters (and doesn't try to startup mysql) with the percona data directory bind mounted onto the docker.
With the current setup, one of the vttablet processes looks like :
/vt/bin/vttablet -topo_implementation zk2 -topo_global_server_address localhost:21811,localhost:21812,localhost:21813 -topo_global_root /vitess/global -log_dir /vt/vtdataroot/tmp -tablet-path test-0000000100 -tablet_hostname -init_keyspace xyzxyz -init_shard 0 -init_tablet_type replica -health_check_interval 5s -enable_semi_sync -enable_replication_reporter -backup_storage_implementation file -file_backup_storage_root /vt/vtdataroot/backups -restore_from_backup -queryserver-config-query-timeout 30000 -queryserver-config-transaction-timeout 30000 -queryserver-config-max-result-size 1999999999 -queryserver-config-transaction-cap 300 -port 15100 -grpc_port 16100 -service_map grpc-queryservice,grpc-tabletmanager,grpc-updatestream -pid_file /vt/vtdataroot/vt_0000000100/vttablet.pid -vtctld_addr
http://cd81b08c834d:15000/ -db-config-dba-uname vt_dba -db-config-dba-charset utf8 -db-config-app-uname vt_app -db-config-app-dbname vt_xyzxyz -db-config-app-charset utf8 -db-config-appdebug-uname vt_appdebug -db-config-appdebug-dbname vt_xyzxyz -db-config-appdebug-charset utf8 -db-config-allprivs-uname vt_allprivs -db-config-allprivs-dbname vt_xyzxyz -db-config-allprivs-charset utf8 -db-config-repl-uname vt_repl -db-config-repl-dbname vt_xyzxyz -db-config-repl-charset utf8 -db-config-filtered-uname vt_filtered -db-config-filtered-dbname vt_xyzxyz -db-config-filtered-charset utf8
If I wish to change it to a single percona 5.6 database with the datadir mounted to /my56datadir/ , what parameters would I need to use/change ?
--Charles Shapiro