• Resolved cactusgroup

    (@cactusgroup)


    when I’m editing web-config file , what should i write for the
    define(‘DB_HOST’, ‘?????????’);

    give me a sample please ? is ‘doaminname.com’ enough?

    the installation doesn’t start because of connecting database problem!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You need to get that information from your host. Usually, ‘localhost’ works but sometimes it needs to be an IP like ‘127.0.0.1’. But it depends entirely on how your host has things set up. You need to ask them.

    Refer to the section “Possible DB_HOST values” in http://codex.wordpress.org/Editing_wp-config.php

    I’m facing this type of error. how i escape from it?

    (Can’t select database

    We were able to connect to the database server (which means your username and password is okay) but not able to select the MySQL database.

    Are you sure it exists?
    Does the user sumair have permission to use the MySQL database?
    On some systems the name of your database is prefixed with your username, so it would be like username_MySQL. Could that be the problem?)

    This pretty much says it all:

    We were able to connect to the database server (which means your username and password is okay) but not able to select the MySQL database.

    Are you sure it exists?
    Does the user sumair have permission to use the MySQL database?
    On some systems the name of your database is prefixed with your username, so it would be like username_MySQL. Could that be the problem?)

    resolved

    Thread Starter cactusgroup

    (@cactusgroup)

    The problem was :

    I HAD CHANGED THE LOCAL HOST to A PUBLIC IP

    thank you all , the problem resolved.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘data base configuration problem’ is closed to new replies.