Skip to:
Content
Pages
Categories
Search
Top
Bottom

constant BBDB_HOST problem

  • hi,

    having some problems with installing:

    install.php gives me this warning:

    …bbpress/bb-includes/db.php on line 61

    followed by this

    …bbpress/bb-includes/db.php on line 73

    DB_HOST is not localhost, changed to db server mt info,

    apparently it won’t support the db host name?

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

  • chrishajer
    Participant

    @chrishajer

    It will support a host name, but are you trying to use a port or a socket? I use MySQL servers on different hosts all the time, but they are always on the default port of 3306.

    Can you post the BBDB_HOST line from your config.php?

    Also, you didn’t post the actual warnings: what were those?


    Sam Bauers
    Participant

    @sambauers

    DB_HOST is not the right constant, do you mean BBDB_HOST ?

    Warning info:

    Warning: constant() [function.constant]: Couldn’t find constant BBDB_HOST in /mnt/…/html/bb-includes/db.php on line 61

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /mnt/…/html/bb-includes/db.php on line 73

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /mnt/…/html/bb-includes/db.php on line 73

    Cannot select DB.

    BBDB_HOST line in config.php:

    define(‘DB_HOST’, $_ENV{DATABASE_SERVER});

    Big Sorry, folks: last post showed me my mistake.

    Entering the RIGHT db host line solved my prob.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar