hi,
i am backup my application database.so, i am import my database into mysql using
/usr/local/micro/mysql-5.0/bin/mysql --defaults-file=/usr/local/micro/mysql-5.0/etc/my.ini -u bcroot -p bc_grant command
After my application database is imported into mysql.
then,
executed mysqldump command.
>mysqldump -u username -p database name > file.sql
i got following error,
mysqldump: Got error: 1045: Access denied for user 'bcroot'@'localhost' (using password: YES) when trying to connect.
how can i solve the problem?
i am backup my application database.so, i am import my database into mysql using
/usr/local/micro/mysql-5.0/bin/mysql --defaults-file=/usr/local/micro/mysql-5.0/etc/my.ini -u bcroot -p bc_grant command
After my application database is imported into mysql.
then,
executed mysqldump command.
>mysqldump -u username -p database name > file.sql
i got following error,
mysqldump: Got error: 1045: Access denied for user 'bcroot'@'localhost' (using password: YES) when trying to connect.
how can i solve the problem?