mysqldump命令不起作用? [英] mysqldump command not working?

查看:527
本文介绍了mysqldump命令不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用mysqldump备份数据库,但是该命令不起作用. 我正在使用的命令是mysqldump -u root dbname> 'c:\backupdatafolder\backup.sql' 我正在MySQL cli中运行此命令,但未运行,..命令中是否有任何错误?

I am using mysqldump to take backup of my database, but the command is not working.. the command i am using is mysqldump -u root dbname> 'c:\backupdatafolder\backup.sql' i am running this command in MySQL cli but not running,..is there any thing wrong in the command?

推荐答案

您应该在操作系统的命令行而不是MySQL CLI上运行它.

You are supposed to run that on the command line of your operating system not on the MySQL CLI.

cd首先进入MySQL的bin文件夹,类似于C:\mysql\bin或您的MySQL安装在任何地方

cd to the bin folder of MySQL first, something like C:\mysql\bin or wherever your MySQL is installed on

这篇关于mysqldump命令不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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