找不到mysqldump:'mysqldump'在应用程序的Azure MySQL中不被识别为内部或外部命令 [英] mysqldump could not be found: 'mysqldump' is not recognized as an internal or external command in Azure MySQL in App

查看:143
本文介绍了找不到mysqldump:'mysqldump'在应用程序的Azure MySQL中不被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hello,



我想在Azure Web应用程序中测试PHP解决方案。



我在应用程序的Web应用程序+ MySql中安装了该应用程序。一切都很好。



但是,应用程序必须从存储库安装扩展。



安装之前扩展,应用程序运行转储。



当我尝试时,我得到一个错误:



mysqldump无法找到:'mysqldump'未被识别为内部或外部命令,操作程序或批处理文件 - 请确保它已安装并位于路径中,或修改配置文件以匹配mysql_bindir。



是否可以添加虚拟路径(在WebApp配置中)以指示mysqldump.exe文件的位置?



谢谢你的帮助。



F.

解决方案


这是必需的,因为MYSQLDUMP在做任何正常的事情之前都需要备份。


要更新环境变量中的mysqldump文件路径,需要更新路径或设置那里。


另一种方法是,连接mysqldum如果空间不受约束且您的组织允许,请从您当地的桌面\服务器进行一次备份并再次尝试。


以下链接可能会让您对此有所了解。  ;


https://www.hacksparrow.com/wp-dbmanager-error-mysql-dump-path-does-not-exist-please-check-your-mysqldump- path-under-db-options.html


让我们知道它是怎么回事。


Hello,

I would like to test a PHP solution in an Azure web application.

I installed the application in web app + MySql in App. Everything is OK.

But, the application must install extensions from a repository.

Before installing the extension, the application runs a dump.

When I try, I get a mistake:

mysqldump could not be found:'mysqldump' is not recognized as an internal or external command, operational program or batch file - Please make sure it is installed and in the path, or modify the configuration file to match mysql_bindir.

Is it possible to add a virtual path (in WebApp Configuration) to indicate where the mysqldump.exe file is?

Thank you for your help.

F.

解决方案

This is needed as MYSQLDUMP takes a backup before doing anything which is fine.

To update mysqldump file path in environment variable, you need to update path or setup there.

Another way is, connect mysqldump from your local desktop\server and take one time backup and try again, if space is not constraint and your organization allows it.

Below link might give you some idea on it. 

https://www.hacksparrow.com/wp-dbmanager-error-mysql-dump-path-does-not-exist-please-check-your-mysqldump-path-under-db-options.html

Let us know how it goes.


这篇关于找不到mysqldump:'mysqldump'在应用程序的Azure MySQL中不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆