Help urgently !!! Prob installing PHPBB 2.0.15 on dhost.info

Status
Not open for further replies.
D

Deleted member 5901

Guest
Trying to install PHPBB2 on dhost.info and im recieving this error while installing wat can i do to correct it ???

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache2/htdocs/niral/Forum/Phpbb/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/niral/Forum/Phpbb/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/niral/Forum/Phpbb/phpBB2/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


Plz help me !!

Im using Version 4.x for install .

then for Database server Hostname/dsn : localhost

my database and database usernme is the same .

and for Prefix for tables in database: phpbb_

Domain Name : dhost.info

and the remaining is no problem !!!


So wat am i doing wrong ???

Wats te problem im using

PHPBB 2.0.15



Plz help me !!!

Thanx in Advance !!![/quote]
 

Choto Cheeta

Rebooting
well mate i think the MySQL database type u chose at the time of installetion wasnt right... Check their tutorial here....

*www.phpbb.com/support/tutorials/

follow the installetion toturial....
 
OP
D

Deleted member 5901

Guest
if i change it to 3.x it says Critical error could not connect to database
 

Choto Cheeta

Rebooting
hmm... then open the config.php...

put this code their...

Code:
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql4';

$dbhost = '_______';
$dbname = '_______';
$dbuser = '________';
$dbpasswd = '******';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>

now the dbhost should b localhost, dbname what u have, dbuser what u have, password what u want.... change CHMOD permission to 666 as shown in that tutorial...

save... now try again...
 

theraven

Technomancer
ur entering dhost.info as the domain name

ur tryin to install phpbb on root dhost.info

put in the domain name assigned to u

also is that the domain name ? or the mysql path ?
if its the mysql path enter localhost
 

Sourabh

Laptoping
I guess its the same mistake which happens every time, dbhost should be 'mysql' on dhost rather than 'localhost'. and make sure abt the 666 permissions.
 

Deep

Version 2.0
king_niral..

search :D

the answer is in the Q&A forum, only 7-8 threads before yours...

check this: *www.thinkdigit.com/forum/viewtopic.php?t=26549

btw one advice, get PHPBB 2.0.17 if you dont want your forums to get hacked..

Deep
 

Choto Cheeta

Rebooting
by the way in the phpBB web site there r some extra tools... like mods & others... hmm any tools which is must install ?? :?: :?:
 

Deep

Version 2.0
tools - depend upon your needs, so you need to install the one you need...

and dont install many mods coz it creates problems at the time of updating the software...

Deep
 

Generic Superhero

Journeyman
Sourabh said:
I guess its the same mistake which happens every time, dbhost should be 'mysql' on dhost rather than 'localhost'. and make sure abt the 666 permissions.


Exactly so, in dhost.info, dbhost will be 'mysql' instead of 'localhost'. I learnt it from their forum when i installed php nuke in my dhost.info account.
 
Status
Not open for further replies.
Top Bottom