In the example vtgate-up.sh script you'll see the following lines:
--mysql_server_port $mysql_server_port \ --mysql_server_socket_path $mysql_server_socket_path \ --mysql_auth_server_static_file "./mysql_auth_server_static_creds.json" \ In this example,
...moreThe application does not need to know about how the data is sharded. This information is stored in a VSchema which the VTGate servers use to automatically route your queries. This allows the application to connect to Vitess and use it as if it’s a single
...moreYes, you can keep a primary/replica in the primary region and can keep a read only replica in another region.
...moreIf you want to replicate data from a primary region cell to secondary region cell you would need to use VReplication.
Please note that Vitess has some regulatory requirements that certain data can't leave the primary region.
...moreYes. You can start vttablet with the -init_db_name_override command line option to specify a different db name. There is no downside to performing this override.
...more