title: MySQL wont let me add column
body: <p>This should be a really simple process but for whatever reason, I am unable to add a column to an MySQL table. Here's my syntax:</p>
  
  <pre><code>$query = "ALTER TABLE game_licenses ADD lifetime VARCHAR(255) AFTER expire_date";
  $result = mysql_query($query);
  if (!$result) {
      echo "it failed";
  }
  else {
      echo "success";
  }
  </code></pre>
  
  <p>I've tried multiple little changes like adding COLUMN to the query after ADD. There are no MySQL errors but finishes the script and echos "it failed".</p>
  
  <p>The error is:  </p>
  
  <blockquote>
    <p>ALTER command denied to user 'webuser'@'localhost' </p>
  </blockquote>
  
  <p>Is it possible to lock a table from being altered?</p>