Mysql replication error: option '--rpl-user' is required -


i trying set replication local database remote one. i'm new mysql followed video on there website. created users, granted permissions entered in on master:

mysqlreplicate --master=repl@localhost:3306 --slave=repl@mydomain.com:3306 

it gives me error:

error: option '--rpl-user' required 

per documentation , looks that's required command line options.

--rpl-user=

the user , password replication user,    in format: <user>[:<password>] or <login-path>. default rpl:rpl. 

your command should below rpl:rpl default --rpl-user command line option.

mysqlreplicate --master=repl@localhost:3306 --slave=repl@mydomain.com:3306 --rpl-user=rpl:rpl 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -