code: def mysql(host, user, passwd, db, charset):
      
      connection_string = database.set_mysql_connection(host=host, user=user, passwd=passwd, db=db, charset=charset)
      test_connection(connection_string)
docs: Set MySQL/MariaDB connection