Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2008, 03:15:06 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Failed install phpbb mysql_connect(): Access denied for user  (Read 804 times)
amiryk
Spacescooter Operator
*****
Offline Offline

Posts: 34


« on: November 22, 2004, 12:38:31 AM »

Hi ,

I am trying to install the PhpBB 2 on an apache server and the install produces the following error:  
Warning: mysql_connect(): Access denied for user: 'tai@localhost' (Using password: YES) in /home/telavi2/public_html/forum/db/mysql4.php on line 48

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

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

I followed exactly the instructions on :
http://www.phpbb.com/support/documents.php?mode=install


Could not connect to the database.
Any ideas?

thx,
A.
Logged

TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #1 on: November 22, 2004, 12:56:42 AM »

database and user names are prepended with the account username. So the user should be telavi2_tai

Make sure the user is added to the database in cPanel / MySQL databases
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #2 on: November 22, 2004, 01:09:20 AM »

check out this thread, make sure you done all the stuff on their:
http://www.lunarforums.com/forum/viewtopic.php?t=21575
Logged

TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #3 on: November 22, 2004, 01:49:09 AM »

That's an awesome tutorial, Garvey, Thumbs Up I must have missed it. Confused
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #4 on: November 22, 2004, 01:51:29 AM »

Embarassed thanks Thu Very Happy
Logged

amiryk
Spacescooter Operator
*****
Offline Offline

Posts: 34


« Reply #5 on: November 22, 2004, 03:03:58 AM »

Quote from: Thu

Make sure the user is added to the database in cPanel / MySQL databases

does that mean that prior to installing phpbb i need to set up a database on my server? i taught that the installation process takes care of that....

thx,
Amir
Logged

JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #6 on: November 22, 2004, 04:26:58 AM »

did you use fantastico to install your forum? if so you want to be checking out this thread:
http://www.lunarforums.com/forum/viewtopic.php?t=21525

although i've never seen that from a fantastico install before, if you aren't using the fantastico auto-install you need to create a database, and datavase user as shown is the thread i just posted ( http://www.lunarforums.com/forum/viewtopic.php?t=21575 )

if you are still having trouble, let me know and i'd be happy to have a closer look for you. Applause
Logged

amiryk
Spacescooter Operator
*****
Offline Offline

Posts: 34


« Reply #7 on: November 22, 2004, 05:02:51 AM »

i just posted an another thread, i would like to use fantastico if it not too expensive to add to our package. and thx Garvey for all your assistance.
Logged

TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #8 on: November 22, 2004, 09:31:42 AM »

Fantastico would automatically install and create the database and user. Because of that error message you posted, it doesn't look like you used Fantastico, which is free, btw.
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
amiryk
Spacescooter Operator
*****
Offline Offline

Posts: 34


« Reply #9 on: November 22, 2004, 09:58:35 AM »

tahnks guys for your assistance. I indeed took the hard way because  i wasn't aware of fantastico and solved the problem by setting up a DB and a username.

I'm sure i'll use it down the road though.

Cheers,   Thumbs Up
Amir
Logged

JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #10 on: November 22, 2004, 11:19:40 AM »

Very Happy  Thumbs Up good job Applause
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM