Phpmyadmin export VIEW without DATABASE_NAME or ALGORITHM

后端 未结 7 2001
忘了有多久
忘了有多久 2021-02-03 11:29

When exporting a sql dump with phpmyadmin it creates the VIEW table like this:

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER 
VIEW `         


        
7条回答
  •  野性不改
    2021-02-03 12:10

    I use this simple script for removing after exporting with mysqldump

    https://gist.github.com/kissarat/bbf33d10f9d7a3bc1adb

提交回复
热议问题