Forums

Join
bbPress Support ForumsTroubleshootingIn latest Beta which file has the code that opens DB connection?

Info

In latest Beta which file has the code that opens DB connection?

  1. Trying to locate the file that has the routine that does msql_connect or _pconnect...

  2. I don't have the latest beta installed, but I do have an Alpha 2 installation and the database connection is here:


    ./bb-includes/backpress/class.bpdb.php:123:
    $this->dbh = mysql_connect($host, $user, $password, true);

  3. Thanks, why in BB and WP no one is using _pconnection ? Would it not be better than _connection?

  4. That might be an interesting discussion, but for another forum. We're not going to change that here. Maybe try the wp-hackers maling list?

    Or, there is some pretty good info here on why NOT to do it:
    http://us3.php.net/function.mysql-pconnect

  5. You must log in to post.