直接在bin目录里输入 mysqldump --help 是可以打印出帮助信息的
但是输入类似于 mysqldump -h localhost -uroot -p123456 test > 1.sql 的语句就直接提示“拒绝访问。”别的什么都没了。
环境:
1、win7 64位系统
2、mysql: mysql-essential-5.1.58-winx64.msi
麻烦知道的高手帮忙说下!
但是输入类似于 mysqldump -h localhost -uroot -p123456 test > 1.sql 的语句就直接提示“拒绝访问。”别的什么都没了。
环境:
1、win7 64位系统
2、mysql: mysql-essential-5.1.58-winx64.msi
麻烦知道的高手帮忙说下!
Your MySQL connection id is 7
Server version: 5.1.58-community MySQL Community Server (GPL)Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 licenseType 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql>可以正常进入!
56 test tree > t.sql
拒绝访问。
我要在上面点右键,以超级管理员身份运行才可以,可能是win7 权限控制的问题。
有没有有更好的办法?
不过在这里给刚用win7并且是用标准账户的同志们一点建议:如果软件使用不正常的话,试试右键-run as Administrator,应该就解决了。要不就关闭UAC,或提升权限!