MySQL Forums
Forum List  »  Newbie

Re: Migrating MySql from Debian to Windows
Posted by: Bill Jour
Date: June 19, 2014 12:30PM

The only command I was able to run to generate some type of output file was

mysqldump >backup/mybackup.sql

Whenever I tried any other command with the switches\parameters that included -u or -p I kept getting a "Got Error:1045 Access denied for user "root@'localhost'".

After I ran the command and did a directory listing for the backup folder I got the following:

-drwxr-xr-r 2 root root 4.0K 2014-06-19
-drwxr-xr-r 26 root root 4.0K 2014-06-19
-rw-r--r-- 1 root root 203 2014-06-19 mybackup.sql

So it appears that some type of file was generated...I don't know if the 203 means Kb or Mb.

Anyone know how I can take a look inside to see what the mybackup.sql file contains?

Options: ReplyQuote


Subject
Written By
Posted
Re: Migrating MySql from Debian to Windows
June 19, 2014 12:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.