Procedure

  1. Find the path of the file where WordPress is installed, for example, cd/opt/bitnami/apps/wordpress/htdocs/.
  2. Configure the WordPress database as follows.
    vim wp-config.ph/bitnami
    // ** 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', '45bee7e8ac');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost:3306');