@main.command()<EOL>@click.option('<STR_LIT>', '<STR_LIT>', prompt="<STR_LIT>",<EOL>default='<STR_LIT:localhost>', help="<STR_LIT>")<EOL>@click.option('<STR_LIT>', '<STR_LIT>', prompt="<STR_LIT>", default='<STR_LIT>', help="<STR_LIT>")<EOL>@click.option('<STR_LIT>', '<STR_LIT>', prompt="<STR_LIT>", hide_input=True, default='<STR_LIT>',<EOL>help="<STR_LIT>")<EOL>@click.option('<STR_LIT>', '<STR_LIT>', prompt="<STR_LIT>", default='<STR_LIT>', help="<STR_LIT>")<EOL>@click.option('<STR_LIT:-c>', '<STR_LIT>', prompt="<STR_LIT>", default='<STR_LIT:utf8>',<EOL>help="<STR_LIT>")<EOL>def mysql(host, user, passwd, db, charset):
connection_string = database.set_mysql_connection(host=host, user=user, passwd=passwd, db=db, charset=charset)<EOL>test_connection(connection_string)<EOL>
Set MySQL/MariaDB connection