Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: mysqldump access denied

07 Jul 2010   #1

Windows 7/Slackware Linux
mysqldump access denied

Hi, I'm trying to do a mysql dump via the following procedure:

  1. Run cmd.exe as administrator
  2. Run "mysqldump -uroot -hlocalhost -ppassword --all-databases >%homepath%\Desktop"
I get the following output:
Access is denied.

Why can't I write to my own desktop, even when I'm running the command as an administrator?
What can I do to resolve this issue?

My System SpecsSystem Spec
07 Jul 2010   #2

Windows 7/Slackware Linux

Problem solved. I was not giving the dump file an actual name. I needed to use:
"mysqldump -uroot -hlocalhost -ppassword --all-databases >%homepath%\Desktop\backup.sql"

opposed to:
"mysqldump -uroot -hlocalhost -ppassword --all-databases >%homepath%\Desktop".
My System SpecsSystem Spec

 mysqldump access denied

Thread Tools

Similar help and support threads
Thread Forum
Access Denied!
Could someone please help me to gain access to my folders. As you can see in the pic, several folders have a "locked" icon (I don't know what this means), and I can't access the folder. I am using the admin account.
General Discussion
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
Import Pictures to NAS "Access Denied" Error Though User Has Access
Hi, All. I've got an interesting situation that I'm hoping can be resolved. I built a server using FreeNAS 8.2 to store family pictures, videos, music, and Windows backups. In my home we have Windows 7 Home Premium 64bit and Windows 7 Professional 64bit. The server is setup with 3 Windows (CIFS)...
Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:47.
Twitter Facebook Google+