MySQL Forums
Forum List  »  Newbie

Re: MySQL Dump commands fails
Posted by: Barry Galbraith
Date: April 19, 2015 04:50PM

You need to log mysqldump in as root to be able to see ALL databases.

Try
mysqldump -uroot -p --routines --no-create-info --no-data --no-create-db --skip-opt <database> > outputfile.sql
Input root's password when prompted.

They way you have it, you will login anonymous (which for security should be removed!) but won't have access to any databases.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
April 18, 2015 08:45AM
Re: MySQL Dump commands fails
April 19, 2015 04:50PM
April 21, 2015 05:00PM
April 22, 2015 11:25PM
April 25, 2015 10:47PM
April 29, 2015 06:25PM


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.