Viewing 7 replies - 1 through 7 (of 7 total)
  • You don’t need a folder called demo.

    Did you follow all of the steps in Installing_WordPress? Only it sounds like you forgot to set up your database.

    Error establishing a database connection – Indicates that you most likely have the wrong information in your wp-config.php file.
    Either your Database Name, Database User name, Database Password, or Database Host Name.
    Go back and make sure the names match the ones you used when you created your database and that will most likely fix your issue.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'My_Database_Name');
    
    /** MySQL database username */
    define('DB_USER', 'My_Username');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'My_password');
    
    /** MySQL hostname - This value may be "localhost" or possibly the IP address of your webserver or the name of your webserver.  Check with your webhost if you are unsure */
    define('DB_HOST', 'My_hostname');

    Hope this helps

    Thread Starter narok1

    (@narok1)

    This is what i did….. and i have re-follow step by step, but not yet.
    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    [moderated]

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Please don’t post sensitive information here.

    Thread Starter narok1

    (@narok1)

    Please help,have created a sub domain, a New Database, i think the above video does not mention how to uploads to sub domain, please give me step by step, step 1…….
    2…….
    3……. and so on.
    i think it will help me.

    @narok1 Installing a wordpress to a subdomain requires same steps to follow. Here is a good article: https://www.wpbeginner.com/how-to-install-wordpress/#installftp

    Rinku Y

    (@rinkuyadav999)

    Steps are

    1: create a domain / sub domain
    2: upload core WordPress
    3: Create a database, database user, database password
    4: assign this database user to this database with all permission (important)
    5: open your domain in browser and fill all details
    6: open Dashboard page (/wp-admin/) like: yourdomain.com/wp-admin/
    7: Fill username and password filled on step 5.

    Done !!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘installing wordpress’ is closed to new replies.