title: Assign phpmyadmin's user to a database from MySQL query
body: <p>I was wondering if it's possible to add a phpmyadmin user to a newly created database, directly from the SQL query, without going to the admin panel.</p>
  
  <p>I tried the following:</p>
  
  <pre><code> mysqli_query($mysqli, "CREATE DATABASE test_db");
   mysqli_query($mysqli, "GRANT ALL PRIVILEGES ON test_db.* TO 'DBUser'@'%'");
  </code></pre>
  
  <p>Of course 'DBUser' already exists, but I can't get it to work.</p>
  
  <p>Thanks!</p>