bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

constant BBDB_HOST problem

(6 posts)
  • Started 6 months ago by milo317
  • Latest reply from milo317
  • This topic is resolved
  1. 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?

    Posted 6 months ago #
  2. 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?

    Posted 6 months ago #
  3. DB_HOST is not the right constant, do you mean BBDB_HOST ?

    Posted 6 months ago #
  4. 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.

    Posted 6 months ago #
  5. BBDB_HOST line in config.php:
    define('DB_HOST', $_ENV{DATABASE_SERVER});

    Posted 6 months ago #
  6. Big Sorry, folks: last post showed me my mistake.
    Entering the RIGHT db host line solved my prob.

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.