+ Reply to Thread
Results 1 to 2 of 2
Like Tree2Likes
  • 1 Post By smartcanuck1988
  • 1 Post By bhupendra2895

Thread: phpBB - MySQL Error

  1. #1
    smartcanuck1988 is offline x10Hosting Member smartcanuck1988 is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    1

    Unhappy phpBB - MySQL Error

    Hello,

    I'm trying to setup a phpbb forum. I have transferred the files and imported mysql database from previous host, then edited the config file accordingly.

    However whenever I try to access the forum, I get the following error:

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/smartcan/public_html/phpBB2/db/mysql4.php on line 332

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/smartcan/public_html/phpBB2/db/mysql4.php on line 333
    phpBB : Critical Error

    Could not connect to the database

    I have searched for help on this error, but it appears that in all other cases there's an initial message before the two warnings (e.g. unable to grant access to user, which is caused by the config file having wrong username/password .. or "too many connections" which sounds like a server-side issue). In my case though, there's nothing before those two warnings and the "Could not connect to the database" message.

    What could be the problem? .. Thank you for your help!
    dinomirt96 likes this.

  2. #2
    bhupendra2895's Avatar
    bhupendra2895 is offline x10 Elder bhupendra2895 is an unknown quantity at this point
    Join Date
    Jun 2010
    Location
    India
    Posts
    554

    Re: phpBB - MySQL Error

    Most of the time this error occurs due to wrong mysql user name or password.Check if you have written correct mysql user name and password in config.Check if you have created mysql user with full privilages on PHPBB database.You should also check value of mysql host and database name in config file is correct or not.
    karimirt47 likes this.
    Liked this? Click on the icon on the bottom of post to make me .

+ Reply to Thread

Similar Threads

  1. phpBB and MySql error on Lotus
    By parkourindia in forum Free Hosting
    Replies: 0
    Last Post: 01-18-2010, 08:26 AM
  2. X10 Hosting phpBB and mysql
    By rane2k5 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 06-15-2009, 10:51 PM
  3. Mysql help for phpBB mod
    By Jordan C in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 10-31-2008, 02:28 AM
  4. MySQL and phpBB not working
    By pvivekk in forum Free Hosting
    Replies: 5
    Last Post: 02-03-2008, 04:31 AM
  5. Problems with Mysql in PHPBB
    By moha911 in forum Free Hosting
    Replies: 1
    Last Post: 01-04-2008, 05:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers