title: Creating a table in mysql stored procedures
body: <p>I'm trying to create a table inside a mysql stored procedure, but whenever I execute this procedure, I do not see the resulting table in my database. Can anyone tell me what's going on? The create table query works whenever I enter it in the cmd outside of a stored procedure.</p>
  
  <pre><code> delimiter //
      drop procedure if exists gm //
      create procedure gm()
              begin
  
          create table errorMessages (
          error_id int not null auto_increment,
          message varchar(200) not null default '',
          primary key(error_id)
          );
  
          end //
      delimiter ;
  </code></pre>