Connect to MySQL
You can connect to the database from the same computer where it is installed with the mysql client tool.
$ mysql -u root -p
You will be prompted to enter the root user password. This is the same password entered during the server deployment process.
WordPress users can also obtain the database hostname by executing the following command:
$ sudo cat /opt/bitnami/apps/wordpress/wp-config.php | grep 'DB_HOST'