Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/r/e/remotia-0.1.8/src/remotia/scripts/db.py   remotia(Download)
def mysql_deploy(hostname, username = None, password = None, bind = "0.0.0.0"):
    ssh = deployers.get_ssh(hostname)
    deployers.install_apt(ssh, "mysql-server")
    deployers.mysql_open(ssh, bind)
    username and password and deployers.mysql_add_user(ssh, username, password)