using google translator
I was really putting it wrong, but now I corrected.
I got in with the right command. When prompt asked for a password, I entered correctly.
Still, it's still error message.
root@wordpresspro-2-vm:/home/cebraic# sudo su
root@wordpresspro-2-vm:/home/cebraic# mysqldump -u root -p bitnami_wordpress > backup.sql
Enter password:
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
root@wordpresspro-2-vm:/home/cebraic#
Part my wp-config.php
/ ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'bitnami_wordpress' );
/** MySQL database username */
define( 'DB_USER', 'bn_wordpress' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost:3306' )