title: Add new user to Wordpress using Python and MySQLdb
body: <p>I'm trying to add a new Wordpress user from Python. I created this function:</p>
  
  <pre><code>def adduser(domain_ip,username,password):
      db = MySQLdb.connect(host=domain_ip, user=username, passwd=password)
      cur = db.cursor()
      cur.execute("USE %s;" % "yogatrai")
      cmd1 = """INSERT INTO `wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES ('5', 'demo1', MD5('demo1demo'), 'firstname lastname', 'email@example.com', '0');"""
      cur.execute(cmd1)
  </code></pre>
  
  <p>The same sql command is working in Navicat. In Python it returns ok but the new user is not present in the database. Where is my error?</p>