error message when installing

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
djchemikal
Registered User
Posts: 2
Joined: Fri Sep 23, 2005 8:25 pm

error message when installing

Post by djchemikal » Fri Sep 23, 2005 8:32 pm

when i am trying to install the forum i get this message

Code: Select all

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in //db/mysql4.php on line 48

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in //db/mysql4.php on line 48

Warning: Supplied argument is not a valid MySQL-Link resource in //db/mysql4.php on line 330

Warning: Supplied argument is not a valid MySQL-Link resource in //db/mysql4.php on line 331
phpBB : Critical Error 

Could not connect to the database 

can somebody help me out..thanx

User avatar
Lumpy Burgertushie
Registered User
Posts: 66594
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie » Fri Sep 23, 2005 9:05 pm

did you create a database, did you create a username and password for it, did you give that user the correct privileges, are you putting all of that info correctly into the install page?


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

djchemikal
Registered User
Posts: 2
Joined: Fri Sep 23, 2005 8:25 pm

Post by djchemikal » Fri Sep 23, 2005 9:52 pm

i have mysql database installed on it .....i am really new to this so i really don't know what to do

gmex2006
Registered User
Posts: 463
Joined: Mon Jul 25, 2005 1:34 am

Post by gmex2006 » Fri Sep 23, 2005 10:00 pm

Hi if you do have mysql installed you should create a user for your mysql database (here the forum database) which will have full power on the database. The use the login information you have created when you are installing phpbb.

Please take a look at the followin
Step-by-Step Guide

Good Luck

Locked

Return to “2.0.x Support Forum”