wordpress database username and password

To find wordpress database username and password you need to go WordPress folder open the file using command vi wp-config.php