Wordpress and Mysql Question

Discussion in 'Third-party applications' started by krah, Dec 13, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello

    I'd like to install wordpress (http://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.php).

    To install wordpress I have to do the following instruction steps:
    # Download and unzip the WordPress package, if you haven't already --> done
    # Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it --> done
    # Rename the wp-config-sample.php file to wp-config.php --> done
    # Open wp-config.php in your favorite text editor and fill in your database details --> problem/trouble
    Now I need MySQL database details or settings.

    // ** MySQL settings ** //
    define('DB_NAME, 'putyourdbnamehere');// The name of the database
    define('DB_USER', 'usernamehere'); // Your MySQL username
    define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    Could you tell me, which sql settings I need?
    As example:Is localhost {define('DB_HOST', 'localhost');} ok?

    More examples:
    DB_NAME
    The name of the database you created for WordPress in Step 2 .
    DB_USER
    The username you created for WordPress in Step 2.
    DB_PASSWORD
    The password you chose for the WordPress username in Step 2.
    DB_HOST
    The hostname you determined in Step 2 (usually localhost, but not always. See some possible DB_HOST values).
    DB_CHARSET
    The database character set, normally should not be changed. See Editing wp-config.php for details.
    DB_COLLATE
    The database collation should normally be left blank. See Editing wp-config.php for details.

    Thanks for your support!

    Best ragards
    Walter Ulli
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Do you have mySQL service enabled? If so, goto the mySQL manager in the hosting control panel, you'll find all the information you need there.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. mjp

    mjp

    krah said...

    Could you tell me, which sql settings I need?
    As example:Is localhost {define('DB_HOST', 'localhost');} ok?



    localhost won't work for a db connection because your database runs on a different server. You will have to specify the host name of the server, foe example, mysql01.discountasp.net. As Bruce mentioned, that information will be in Control Panel.

    mjp
    ---
    DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page