information_schema
: Grant read access permissions to the tables within MySQL as well as the information_schema
schema. This allows Databrain to retrieve necessary information and replicate data accurately. You can assign appropriate permissions to the user or role accessing MySQL to enable reading from tables and accessing metadata stored in the information_schema
.schema_name
.table_name
TO ;
SHOW VARIABLES WHERE Variable_name = 'hostname';
to retrieve the hostname.3306
. However, this can be customized. If you’re in the MySQL shell, you can use the commandSHOW VARIABLES WHERE Variable_name = 'port';
to check the port MySQL is running on.SELECT USER();
to display the current user.