Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

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

  • chrishajer
    Participant

    @chrishajer

    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);


    DoubleBUser
    Member

    @doublebuser

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


    chrishajer
    Participant

    @chrishajer

    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

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

You must be logged in to reply to this topic.