title: Create User with MySQLi Prepared Statement
body: <p>I have a script using PHP and MySQLi with prepared statements. The purpose is to create a new user on a MySQL server, however preparing the statement fails with no further information as to why.</p>
  
  <pre><code>$query = 'CREATE USER ?@`10.1.1.%` IDENTIFIED BY ?;';
  
  if ($stmt = $newdb-&gt;prepare($query)) {
  $stmt-&gt;bind_param('ss', $db_username, $db_password);
  
      if ($stmt-&gt;execute()) {
      // Database user created successfully
      } else {
      die(errorJSON('db', 'create', 22));
  }
  
  $stmt-&gt;close();
  } else {
      die(errorJSON('db', 'create', 3));
  }
  </code></pre>
  
  <p>Any ideas why perparing this statement would fail?</p>
  
  <p>Thank You.</p>