Add replication user @localhost, introduce mysql helper definitions