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 Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
Access is denied - WHY ??
How can I open folders like Documents and Settings ? I get "Access is denied" although my account is not a limited one. I would like the freedom of opening whatever folder I want to. :(
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
Access denied
As administrator, yet there are folders whose access is denied to me (they have a small padlock icon). Is there a way to disable this restriction? Thanks
Performance & Maintenance

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 21:40.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App