Error in exporting MySQL database from Linux mysqldump:got error :1045

Command to export MySQL database in Linux

mysqldump –uroot –proot985 –all-databases > abc.sql

ABC is the database name and the password is root985. An error is reported at this time mysqldump:got error :1045

terms of settlement:

Add double quotation marks to the password on the command line

mysqldump –uroot –p“root985” –all-databases > abc.sql

Read More: