Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 20-08-2005, 07:39 PM   #1 (permalink)
In The Zone
 
Join Date: May 2005
Location: JABALPUR (M.P)
Posts: 403
Default Help urgently !!! Prob installing PHPBB 2.0.15 on dhost.info


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

Quote:
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]
__________________
\"Live Life as it comes & Live it KINGSIZE\"
\"Learn From Yesterday,Live For Today & Hope For Tomorrow\".
Bye 4 Now - N_!_r_a_L
King_Niral is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-08-2005, 11:22 PM   #2 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

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

http://www.phpbb.com/support/tutorials/

follow the installetion toturial....
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 21-08-2005, 12:01 PM   #3 (permalink)
In The Zone
 
Join Date: May 2005
Location: JABALPUR (M.P)
Posts: 403
Default

if i change it to 3.x it says Critical error could not connect to database
__________________
\"Live Life as it comes & Live it KINGSIZE\"
\"Learn From Yesterday,Live For Today & Hope For Tomorrow\".
Bye 4 Now - N_!_r_a_L
King_Niral is offline  
Old 21-08-2005, 04:21 PM   #4 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

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...
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 22-08-2005, 02:35 PM   #5 (permalink)
Human Spambot
 
Join Date: May 2004
Location: off to "never ever" land
Posts: 2,912
Default

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
__________________
No Mercy, No Limits.
Oobertech.net - Keeping Knowledge Free
theraven is offline  
Old 22-08-2005, 02:42 PM   #6 (permalink)
Laptoping
 
Sourabh's Avatar
 
Join Date: Aug 2004
Location: Mumbai
Posts: 2,211
Default

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.
__________________
You could think I'm wrong, but that's no reason to stop thinking.
Sourabh is offline  
Old 22-08-2005, 02:43 PM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

king_niral..

search

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

check this: http://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
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 22-08-2005, 02:50 PM   #8 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

by the way in the phpBB web site there r some extra tools... like mods & others... hmm any tools which is must install ??
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 22-08-2005, 10:24 PM   #9 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

Quote:
Originally Posted by saurav_cheeta
by the way in the phpBB web site there r some extra tools... like mods & others... hmm any tools which is must install ??
no answer?? :roll: :roll:
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 22-08-2005, 10:35 PM   #10 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

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
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 22-08-2005, 11:31 PM   #11 (permalink)
In The Zone
 
Generic Superhero's Avatar
 
Join Date: Sep 2004
Location: Kolkata
Posts: 209
Default

Quote:
Originally Posted by Sourabh
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.
__________________
Nipon
Generic Superhero is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by abhidev
- by Sujeet
- by Sarath
- by Krow

Advertisement




All times are GMT +5.5. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2