Skip to:

Database connection error

  • arbingersys


    I’m scratching my head on this one. I can’t get bbPress to install, and it always complains about connecting to the database.

    The mySql server is remote, and I’ve tried adding it in with the hostname as well as the IP. No dice.

    I know the default answer is a credentials problem, but if I use SSH and connect to the website that will host bbPress, I can do

    mysql -h hostname -uusername -ppassword

    and connect fine.

    I can also use the above command to connect from my workstation, remotely. I’ve copy-pasted the credentials dozens of times, verified that it has read/write access to the DB, etc.

    I’ve even copied bb-config-sample.php to bb-config.php and edited it manually, but it still can’t connect to the database.

    Any ideas what I might try next? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • go into wp-admin and under buddypress, forums setup you will have to point to the bbconfig.php file.



    Hi markaduffy, I did

    find . | grep wp-admin

    in the forum folder where I extracted to, but get nothing back. I’ve downloaded ‘Latest 1.0.3 – Download .tar.gz’ from the download page. I’m using the stand-alone version, I guess.

    put bbpress folder in


    In wp-admin console (in web browser) go to buddypress>forums setup> and point to bb-config in bbpress folder you just installed.

    Of course you will need to add your MySQL access details in bb-config.php



    Hi, sorry for the delayed reply, I’ve been busy with other things, and am just now revisiting the issue.

    I don’t have a /wp-content folder anywhere in my hosting directory. So I’m running bbPress as a standalone install, as I understand it.

    I have edited the bb-config.php file (copied from bb-config-sample.php), and it still doesn’t work.

    Any other ideas? Thanks.



    Hi, I discovered the issue. It was a PHP upgrade at my hosting provider, and I had to reset the MySQL password to store in the new format. Thanks, James

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