title: PHPMyAdmin EDIT and EXECUTE buttons disabled for Stored Procedures
body: <p>I created a couple of stored procedures in a remote MySql database (web) a week ago... during the session where I created them I was able to edit them, export them, etc... </p>
  
  <p>Now, a week later, I wanted to edit them, and I find that the Edit and Execute buttons in the Routines tab for those two are disabled...</p>
  
  <p><a href="https://i.stack.imgur.com/72CAr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/72CAr.png" alt="Routines tab"></a></p>
  
  <p>My web server is running phpmyadmin 4.0.10.7</p>
  
  <p>I found out that, for some reason, in the ROUTINES table of the INFORMATION_SCHEMA db, those routines (procedures) have a different DEFINER (well, not different, but the db considers them different)</p>
  
  <p><a href="https://i.stack.imgur.com/pRGZK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pRGZK.png" alt="Definers for the procedures"></a></p>
  
  <p>This is why I can't edit them... So, finally, the scenario is this. I logged in to my CPanel and PHPMyAdmin as usual, created those procedures, and the DEFINER for them is user@icario.servidoraweb.net (my user + the domain is my hosting provider)... Then, when I tried to edit them a week later, I log in, and I find that my user now (running SELECT CURRENT_USER();) is "user@10.0.5.47"... </p>
  
  <p>I open a ticket with my hosting provider to find out why now my login to CPanel contains the IP address instead of the domain name, and they say they have no idea, they didn't change anything.</p>
  
  <p>Now, Yesterday I logged in again, and then I can edit those procedures, I check my user, and it is again "user@icaro..."</p>
  
  <p>Today, when I log in again, I am back in "user@10.0..."</p>
  
  <p>So... I know why I can't edit those procedures... what I don't know is why I sometimes my user has the domain name, and sometimes the IP address..</p>
  
  <p>Any ideas on this?? Thanks</p>