Administrator当我在模式下运行命令提示符时,Access dined 问题解决了。
如果有任何单击按钮,Start-> All Programs -> Accessories请右键单击clickcCommand Prompt从Run as..选择选项中选择The Following User选择administrator username输入密码。OK
示例 1:使用命令提示符在 mysql 中备份整个数据库。
在 Windows 7 和 8 中
C:\Program Files <x86>>\MySQL\MySQL Server 5.5\bin>mysqldump test -u root -p >testDB.sql
Enter Password: *********
在 Windows XP 中
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump test -u root -p >testDB.sql
Enter Password: *********
它要求输入密码的凭据输入密码,然后单击 Enter 按钮。
示例 2:使用命令提示符在 mysql 中进行特定表备份/转储。
在 Windows 7 和 8 中
C:\Program Files <x86>>\MySQL\MySQL Server 5.5\bin>mysqldump test -u root -p images>testDB_Images.sql
Enter Password: *********
在 Windows XP 中
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump test -u root -p images>testDB_Images.sql
Enter Password: *********
转储文件将在文件夹下创建
在 windows xp 中
C:\Program Files\MySQL\MySQL Server 5.5\bin
在 Windows 7 和 8 中
C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin
注意:在命令提示符下运行时检查 Windows 7、8 中的 MySQL 安装文件夹。如果MySQLWorkbench是 32 位版本,则它安装在Program Files (x86)文件夹 other wiseProgram Files文件夹中。