From b7fc91ceb301b3c7f5cc95230b99cc5082dad44a Mon Sep 17 00:00:00 2001 From: emorino Date: Wed, 24 Nov 2021 10:49:42 +0100 Subject: [PATCH] Ajout Chercher dans quelle base se trouve un VUE avec un definer precis --- HowtoMySQL/Troubleshooting.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/HowtoMySQL/Troubleshooting.md b/HowtoMySQL/Troubleshooting.md index 2fb54c03..69d41cdf 100644 --- a/HowtoMySQL/Troubleshooting.md +++ b/HowtoMySQL/Troubleshooting.md @@ -922,4 +922,14 @@ SELECT @@GLOBAL.sql_mode; +------------------------------------------------------------------------------------------------------------------------+ ~~~ -Documentation : \ No newline at end of file +Documentation : + +## Chercher dans quelle base se trouve un VUE avec un definer précis + +Lister la liste de toutes les vues dans un fichier, comme ceci : + +~~~ +# mysql -e "select * FROM INFORMATION_SCHEMA.VIEWS\G" > find_definer.txt +~~~ + +Puis faire une recherche sur le definer dans le fichier généré. \ No newline at end of file