Mysql displays a list of user functions in phpmyadmin

How to view a list of user functions in mysql database using phpmyadmin.

The Mysql database has been migrated from one server to another, and user-defined user functions do not work. I need to look at a list of user-defined functions to check if they exist in the database or not.

Fatal error: db::execute() Could not execute: FUNCTION database.xxx does not exist (SQL: SELECT Function(field) FROM users in file.php on line xx 
+6
source share
2 answers

The following MySQL query will list user routines.

 select * from information_schema.routines; 
+19
source

This will give you all the information about your user functions / procedures:

 select specific_name, definer from information_schema.routines where definer not like '%mysql%'; 

hope this helps!

0
source

Source: https://habr.com/ru/post/917788/


All Articles