Support » Installation » How to setup WordPress

How to setup WordPress

  • I have download wordpress-3.7.1.
    Now I am following instructions but i am not able to understand that what to fill in database. Can you please help me out to make it working on my laptop.


Viewing 5 replies - 1 through 5 (of 5 total)
  • /** MySQL hostname */
    define(‘DB_HOST’, ‘??’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘??’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ‘??’);

    ?? – what to fill ??

    Try as below:

    /** The name of the database for WordPress */
    define( 'DB_NAME', 'your_database_name_here' );
    /** MySQL database username */
    define( 'DB_USER', 'your_DB_username_here' );
    /** MySQL database password */
    define( 'DB_PASSWORD', 'Your_DB_password_here' );
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    /** The Database Collate type. Don't change this if in doubt. */
    define( 'DB_COLLATE', 'utf8_general_ci' );

    Localhost can be different for some hosts. Find out from your host. Also review: http://codex.wordpress.org/Editing_wp-config.php

    Hi Krishna,

    I am totally new with all this. and even I dont know how to get database name & username. Do I need my own site to get all these ??
    I dont have my website or domain with me. where can I get the same with minimal cost ?

    Can you please help me out.

    Thanks in advance.




    Forum Moderator

    If you are installing WP on a local computer, you have to first set up a server environment see:


    The site won’t be visible or accessible on the internet. If you want to do that, you have to set up hosting and install WP on a live server.

    Also see:


    Here’s a fairly comprehensive guide with screenshots if you’re installing WordPress via FTP to your server and setting up the databases in your control panel.

    Wix vs Shopify vs WordPress: How to Build a Website

    Hope that helps

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to setup WordPress’ is closed to new replies.