Info
- 6 posts
- 3 voices
- Started 4 years ago by milo
- Latest reply from milo
- This topic is resolved
constant BBDB_HOST problem
-
- Posted 4 years ago #
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 73DB_HOST is not localhost, changed to db server mt info,
apparently it won't support the db host name? -
- Posted 4 years ago #
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_HOSTline from your config.php?Also, you didn't post the actual warnings: what were those?
-
- Posted 4 years ago #
DB_HOST is not the right constant, do you mean BBDB_HOST ?
-
- Posted 4 years ago #
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 4 years ago #
BBDB_HOST line in config.php:
define('DB_HOST', $_ENV{DATABASE_SERVER}); -
- Posted 4 years ago #
Big Sorry, folks: last post showed me my mistake.
Entering the RIGHT db host line solved my prob. -
You must log in to post.