我们可以通过以下查询查看特定 MySQL 数据库中存储函数的列表以及其他信息 -
mysql> SHOW FUNCTION STATUS WHERE db = 'query'G
*************************** 1. row ***************************
Db: query
Name: factorial
Type: FUNCTION
Definer: root@localhost
Modified: 2021-11-16 14:04:48
Created: 2021-11-16 14:04:48
Security_type: DEFINER
Comment:
character_set_client: cp850
collation_connection: cp850_general_ci
Database Collation: latin1_swedish_ci
*************************** 2. row ***************************
Db: query
Name: Hello
Type: FUNCTION
Definer: root@localhost
Modified: 2017-11-12 11:42:31
Created: 2017-11-12 11:42:31
Security_type: DEFINER
Comment:
character_set_client: cp850
collation_connection: cp850_general_ci
Database Collation: latin1_swedish_ci
2 rows in set (0.16 sec)
登录后复制
以上就是我们如何查看特定 MySQL 数据库中存储函数的列表以及其他一些信息?的详细内容,更多请关注每日运维网(www.mryunwei.com)其它相关文章!