Suppose you have a variable MY_VAR with value:
MY_VAR="this is my test"
To convert it to uppercase simply use the ^^. For e.g.,
echo ${MY_VAR^^}
This will output: THIS IS MY TEST
CHANGE MASTER TO MASTER_HOST='10.x.x.x', MASTER_USER='repl', MASTER_PASSWORD='slave_password', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=0;
mysql> START SLAVE;
2. Check if /etc/mysql/my.cnf have the server-id properly set for both master and slave machines. For both master and slave's server-id should be different.
3. If you are setting up multiple slaves, make sure that all the slaves have different server-id's.
source /etc/environment
in bash works for program run through terminal, but running programs through shortcuts at GUI does not work. For that you will have to relaunch those programs from terminal after having done source /etc/environment