mysql - PHPMyAdmin EDIT and EXECUTE buttons disabled for Stored Procedures -
i created couple of stored procedures in remote mysql database (web) week ago... during session created them able edit them, export them, etc...
now, week later, wanted edit them, , find edit , execute buttons in routines tab 2 disabled...
my web server running phpmyadmin 4.0.10.7
i found out that, reason, in routines table of information_schema db, routines (procedures) have different definer (well, not different, db considers them different)
this why can't edit them... so, finally, scenario this. logged in cpanel , phpmyadmin usual, created procedures, , definer them user@icario.servidoraweb.net (my user + domain hosting provider)... then, when tried edit them week later, log in, , find user (running select current_user();) "user@10.0.5.47"...
i open ticket hosting provider find out why login cpanel contains ip address instead of domain name, , have no idea, didn't change anything.
now, yesterday logged in again, , can edit procedures, check user, , again "user@icaro..."
today, when log in again, in "user@10.0..."
so... know why can't edit procedures... don't know why user has domain name, , ip address..
any ideas on this?? thanks
the hosting provider automatically disable option edit or execute after logout phpmyadmin.
Comments
Post a Comment