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