boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installation error

 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
jenjen



Joined: 23 Jan 2004
Posts: 5

PostPosted: Fri Jan 23, 2004 3:19 pm    Post subject: Installation error Reply with quote

Hi... could someone help me with this please...

Warning: mysql_connect(): Unknown MySQL Server Host '[email protected]' (2) in /home/shuin/public_html/aeris/b2install.php on line 17
Can't connect to the database
Unknown MySQL Server Host '[email protected]' (2)

I seriously don't know what's wrong since it's the first time I'm using b2
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 69

PostPosted: Fri Jan 23, 2004 10:10 pm    Post subject: Reply with quote

Check that your changes to b2config.php in the lines
Code:
// ** MySQL settings **

# fill with your database details
$dbname = 'b2';         // the name of the database
$dbhost = 'localhost';      // 99% chances you won't need to change this value
$dbusername = 'user';         // your MySQL username
$dbpassword = 'pass';      // ...and password
are correct. In particular, have you left
Code:
$dbhost = 'localhost';      // 99% chances you won't need to change this value
alone?
Back to top
View user's profile Send private message
jenjen



Joined: 23 Jan 2004
Posts: 5

PostPosted: Sat Jan 24, 2004 12:43 pm    Post subject: Reply with quote

yep... I left the
$dbhost = 'localhost'; // 99% chances you won't need to change this value
alone... so wat do i do -.-
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 69

PostPosted: Sat Jan 24, 2004 1:08 pm    Post subject: Reply with quote

The question is, where is it getting '[email protected]' from? Have you put this in anywhere?
Also do you have CPanel to configure your site? If so, go to MySQL Databases. At the bottom of the page what does it say for Access Hosts? Is it localhost?
Back to top
View user's profile Send private message
jenjen



Joined: 23 Jan 2004
Posts: 5

PostPosted: Sun Jan 25, 2004 11:35 am    Post subject: Reply with quote

Well it's getting '[email protected]' from nowhere because I changed it to localhost... sorry -.-"

Anyways now it's saying something like this...

Warning: mysql_connect(): Access denied for user: '[email protected]@localhost' (Using password: YES) in /home/shuin/public_html/aeris/b2install.php on line 17
Can't connect to the database
Access denied for user: '[email protected]@localhost' (Using password: YES)

And I don't have a CPanel to configure my site because I'm hosted...
Sorry to have confused you and all... so sorry...
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 69

PostPosted: Sun Jan 25, 2004 11:51 am    Post subject: Reply with quote

Believe it or not that is good news as we are getting somewhere!
Access denied for user: '[email protected]@localhost' means that you either have the username or the password wrong. So you need to figure out which it is. Should there be an @ in the username? What happens if you just try aeris?
I presume your host has set up the database? If so, they would be able to advise you as to the correct username and password, which could differ from others you use on the system.
Back to top
View user's profile Send private message
jenjen



Joined: 23 Jan 2004
Posts: 5

PostPosted: Mon Jan 26, 2004 2:43 pm    Post subject: Reply with quote

Okay it all works now thanks to you ^^ Thanks a lot.... but now when I try to login... it says...

Your SQL query:
SELECT * FROM Jenny WHERE user_login = ''

MySQL said:
Table 'shuin_aeris.Jenny' doesn't exist

What does it mean ?
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 69

PostPosted: Mon Jan 26, 2004 5:16 pm    Post subject: Reply with quote

It is checking your password to see if it is valid, but can't find the table it is stored in. I wouldn't have thought there should be a table call Jenny.

In b2config.php have you changed any of the details in:
Code:
$tableposts = 'b2posts';
$tableusers = 'b2users';
$tablesettings = 'b2settings';
$tablecategories = 'b2categories';
$tablecomments = 'b2comments';

because you shouldn't do. If you have changed them then put back the above lines and try again.

You can only change these names before setting up b2. If b2 has already been set up then you have to accept whatever it says.
Back to top
View user's profile Send private message
jenjen



Joined: 23 Jan 2004
Posts: 5

PostPosted: Sat Feb 07, 2004 12:09 pm    Post subject: Reply with quote

Thanks for the help ^^ It works now Very Happy Thanks a LOT again... hehehe Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group