Mariadb Replication Quick Setup using GTID

On Slave

CHANGE MASTER '{replica_connection_name}' TO MASTER_HOST='{10.8.0.2}',MASTER_USER='{replicauser}',MASTER_PASSWORD='{replicauser_pass}',MASTER_USE_GTID=current_pos

On Master

mysqldump -uroot -p --master-data --gtid tablename > tablename.sql


On Slave

mysql -uroot -p tablename < tablename.sql