• <bdo id='drz81'></bdo><ul id='drz81'></ul>

    1. <tfoot id='drz81'></tfoot>
      <legend id='drz81'><style id='drz81'><dir id='drz81'><q id='drz81'></q></dir></style></legend>
        <i id='drz81'><tr id='drz81'><dt id='drz81'><q id='drz81'><span id='drz81'><b id='drz81'><form id='drz81'><ins id='drz81'></ins><ul id='drz81'></ul><sub id='drz81'></sub></form><legend id='drz81'></legend><bdo id='drz81'><pre id='drz81'><center id='drz81'></center></pre></bdo></b><th id='drz81'></th></span></q></dt></tr></i><div id='drz81'><tfoot id='drz81'></tfoot><dl id='drz81'><fieldset id='drz81'></fieldset></dl></div>
      1. <small id='drz81'></small><noframes id='drz81'>

        Phpmyadmin 导出 VIEW 没有 DATABASE_NAME 或 ALGORITHM

        时间:2023-10-11
          <tfoot id='8gsWi'></tfoot>
            <tbody id='8gsWi'></tbody>
            <bdo id='8gsWi'></bdo><ul id='8gsWi'></ul>

            • <i id='8gsWi'><tr id='8gsWi'><dt id='8gsWi'><q id='8gsWi'><span id='8gsWi'><b id='8gsWi'><form id='8gsWi'><ins id='8gsWi'></ins><ul id='8gsWi'></ul><sub id='8gsWi'></sub></form><legend id='8gsWi'></legend><bdo id='8gsWi'><pre id='8gsWi'><center id='8gsWi'></center></pre></bdo></b><th id='8gsWi'></th></span></q></dt></tr></i><div id='8gsWi'><tfoot id='8gsWi'></tfoot><dl id='8gsWi'><fieldset id='8gsWi'></fieldset></dl></div>

              <small id='8gsWi'></small><noframes id='8gsWi'>

            • <legend id='8gsWi'><style id='8gsWi'><dir id='8gsWi'><q id='8gsWi'></q></dir></style></legend>
                  本文介绍了Phpmyadmin 导出 VIEW 没有 DATABASE_NAME 或 ALGORITHM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当使用 phpmyadmin 导出 sql 转储时,它会像这样创建 VIEW 表:

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

                  CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER 
                  VIEW `database`.`table` etc..
                  

                  每次我必须手动编辑 sql 转储以删除 root 用户和 database 名称.

                  Each time I have to manually edit the sql dump to remove the root user and database name.

                  推荐答案

                  虽然只用了 8 年,但 phpmyadmin 现在包含一个选项来防止这个问题:-

                  It's only taken 8 years but phpmyadmin now includes an option to prevent this issue:-

                  排除当前用户的定义

                  这出现在 CREATE VIEW 部分下,选择它,您将获得一个正常工作的摘录.

                  This appears under the CREATE VIEW section, select this and you will get a properly working extract.

                  这篇关于Phpmyadmin 导出 VIEW 没有 DATABASE_NAME 或 ALGORITHM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 MAC 上使用 Homebrew 安装 PHP 下一篇:如何使用 phpmyadmin 自动备份数据库

                  相关文章

                1. <small id='1I22H'></small><noframes id='1I22H'>

                2. <i id='1I22H'><tr id='1I22H'><dt id='1I22H'><q id='1I22H'><span id='1I22H'><b id='1I22H'><form id='1I22H'><ins id='1I22H'></ins><ul id='1I22H'></ul><sub id='1I22H'></sub></form><legend id='1I22H'></legend><bdo id='1I22H'><pre id='1I22H'><center id='1I22H'></center></pre></bdo></b><th id='1I22H'></th></span></q></dt></tr></i><div id='1I22H'><tfoot id='1I22H'></tfoot><dl id='1I22H'><fieldset id='1I22H'></fieldset></dl></div>
                  • <bdo id='1I22H'></bdo><ul id='1I22H'></ul>
                3. <legend id='1I22H'><style id='1I22H'><dir id='1I22H'><q id='1I22H'></q></dir></style></legend>

                    <tfoot id='1I22H'></tfoot>