MySQL help

moneyshot

Member
Jun 24, 2001
108
0
0
Ok. I'm trying to install phpbb forums. They use php and Mysql, I have PHP4 working fine. But when the install.php tests my Mysql it gives this error:

'Testing DB Connection...
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/forums/install.php on line 39'

I was told this may be because I have not setup my etc/my.cnf, the person who told me this was not kind enough to tell me how to set it up though. If you believe this is the problem, could someone be kind enough to past an example of a working my.cnf here. If you would like some more info about the machine go here
httpd, php, mysql info, etc. . This is all on Redhat 7.1 full install, which included apache, php4 and mysql out of the box. Thanks in advance.
 

randal

Golden Member
Jun 3, 2001
1,890
0
71
might want to try posting this in the operating system forum -- these are network guys mostly.

$.02
randal