phpBB-2.0.22 messageboard-phpBB : Critical Error Could not connect to the database

Discussion in 'Databases' started by tgull, Apr 26, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I guess I am having a problem from being a novice. I purchased MS SQL 2005 Server addon and am trying to installphpBB-2.0.22 messageboard. I get the install screen and enter my information and keep getting "critical error cannot connect to database." I downloaded and installed MS Server management studio and can connect to database. My question is how can I install phpBB-2.0.22 messageboard? My install page comes up from my web page. Please help. Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Can you tell me what you put in database section in the PHP BB setup?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. In the setup screen I entered:


    Database Type: MYSQL 3.x


    Database Server Hostname / DSN: sql2k504.discountasp.net


    Your Database Name: SQL2005_184456_messageboard


    Database Username: SQL2005_184456_messageboard_user


    Database Password: My site password


    Prefix for tables in database: phpbb_
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    There are multiple problems here

    1) PHPBB allows you to different type of database connection. We only provide ODBC connection to SQL server.

    The problem is that we do not have ODBC setup for SQL 2005. I recommend you switch to MS SQL 2000 rather than using SQL 2k5.

    2) The database type is definitely wrong. There should be a option for ODBC

    3) Once you get MS SQL setup, simply put the DSN name and select ODBC

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. Hi,


    I tried phpBB too and it didn't work for SQL 2005. Do you support phpBB Message Boards on MySQL?


    Thanks,


    Sean
     
  6. mjp

    mjp

    It should work with MySQL. I've done phpBB, Simple Machines and vBulletintest installations (all php/MySQL)on a server here andthey allworked fine.

    If you are starting your forum from scratch you may want to check out simple machines (http://www.simplemachines.org/)before you go with phpBB. SMF is much more lightweight than phpBB, and is less of a target for exploits.

    mjp

    DiscountASP.NET - Microsoft Gold Certified Partner
    - asp.netPRO Magazine 2007 Readers' Choice Award for Best Hosting Service
    - Visual Studio Magazine 2007 Readers' Choice Award for Best Hosting Service
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page