anujgarg Posted October 23, 2009 Share Posted October 23, 2009 Hi Everyone, I am facing an error while using the following command in Putty: # mysqldump-root DB_NAME >db.sql bzip2 db.sql I got following error: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when trying to connect I have tried: # mysqldump-root -p DB_NAME >db.sql bzip2 db.sql But of no use. I got the same error with (using password: NO) I have copied "mysqldump-root" from one directory to another directory. Do I need to change the permissions for this new directory? How can I take the dump of mysql database by using mysqldump-root command? Please suggest.. TIA Anuj Quote Link to comment https://forums.phpfreaks.com/topic/178730-mysqldump-error/ Share on other sites More sharing options...
fenway Posted October 31, 2009 Share Posted October 31, 2009 What's wrong with plain ol' mysqldump? Quote Link to comment https://forums.phpfreaks.com/topic/178730-mysqldump-error/#findComment-948393 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.