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 

READ ME: MySQL, doh!, etc
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Wed Feb 06, 2002 6:22 pm    Post subject: READ ME: MySQL, doh!, etc Reply with quote

Many issues that our users encounter deal with MySQL, and how to set it up.

The point of this post is not to explain you how to create a MySQL db, or how to administer it. Ask these questions to your host.

The point is to give you a checklist of things that you should do, BEFORE asking for support in this forum.


1. Create a MySQL database. If you already have a MySQL database, you can skip this step. Note: you can use several instances of b2 in the same database if you wish.
2. Create a MySQL user; or use one that is already created.
3. Add the user to this database.

Most 'errors' occur because you forget one of these steps, especially the last one; so here you know what you got to do Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Birdangel



Joined: 25 Aug 2002
Posts: 6

PostPosted: Thu Sep 19, 2002 9:40 pm    Post subject: another instance of b2 Reply with quote

I read the readme.html file, but I didn't see anything about what to do if you already have a b2 blog on your server and you want to set up another one. Do I need to change the names of all the tables to different ones?
Back to top
View user's profile Send private message Visit poster's website AIM Address
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Thu Sep 19, 2002 11:30 pm    Post subject: Reply with quote

hi,

Quote:

....
Do I need to change the names of all the tables to different ones?

Yes, or create a second DB.

Michael e
Back to top
View user's profile Send private message Send e-mail
FantasyAngel



Joined: 25 Sep 2002
Posts: 1

PostPosted: Wed Sep 25, 2002 12:37 am    Post subject: Erm.. and.. Reply with quote

...how do we create a database? LoL I know its a stupid question but when it comes to computers IM DUMB!
_________________
FantasyAngel
Back to top
View user's profile Send private message
nessahead



Joined: 12 Mar 2002
Posts: 312
Location: Los Angeles, CA

PostPosted: Wed Sep 25, 2002 5:45 am    Post subject: Re: READ ME: MySQL, doh!, etc Reply with quote

michel v wrote:
The point of this post is not to explain you how to create a MySQL db, or how to administer it. Ask these questions to your host.


=)
_________________
raar!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
theinfamousj



Joined: 14 Nov 2002
Posts: 2
Location: UNC-CH

PostPosted: Thu Nov 14, 2002 7:28 am    Post subject: If you use Dreamhost Reply with quote

If you use dreamhost and are still having these issues you need to GIVE IT A WHILE TO PROCESS. The creation of the MySQL database, username, and host are not instantaneous.

I don't know about other webhosts but I gave mine 2 hours to sit and it was golden.

Just a tip.
_________________
--...dot every i and cross every t.--
Back to top
View user's profile Send private message Visit poster's website
kraylus



Joined: 03 Dec 2002
Posts: 4

PostPosted: Tue Dec 03, 2002 7:49 pm    Post subject: Reply with quote

hehe, i use dreamhost!

didnt take mine quite two hours... more like 15 min. it works great though! i recommend anyone to dreamhost.
Back to top
View user's profile Send private message
rubie



Joined: 16 Jan 2003
Posts: 2

PostPosted: Thu Jan 16, 2003 10:39 pm    Post subject: Warning Error?? Reply with quote

When I go to b2install.php I get this error:

Warning: Access denied for user: 'user@localhost' (Using password: YES) in /home/sites/kiwi-sweets.net/b2install.php on line 17

Warning: MySQL Connection Failed: Access denied for user: 'user@localhost' (Using password: YES) in /home/sites/kiwi-sweets.net/b2install.php on line 17
Can't connect to the database
Access denied for user: 'user@localhost' (Using password: YES)

I don't know if this makes a diffrence, but I just Active Webhosting. What is wrong?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mikelittle



Joined: 11 May 2002
Posts: 376
Location: UK

PostPosted: Thu Jan 16, 2003 11:45 pm    Post subject: Reply with quote

Make sure you set the correct values in b2config.php
Code:

$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


Mike
_________________
Mike Little
http://zed1.com/journalized/
"Share what you know. Learn what you don't."
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
rubie



Joined: 16 Jan 2003
Posts: 2

PostPosted: Sat Jan 18, 2003 1:16 am    Post subject: Warning Message still here Reply with quote

I have this error:

Parse error: parse error in /home/sites/kiwi-sweets.net/b2config.php on line 36

Warning: Access denied for user: 'sites@localhost' (Using password: NO) in /home/sites/kiwi-sweets.net/b2install.php on line 17

Warning: MySQL Connection Failed: Access denied for user: 'sites@localhost' (Using password: NO) in /home/sites/kiwi-sweets.net/b2install.php on line 17
Can't connect to the database
Access denied for user: 'sites@localhost' (Using password: NO)

What is wrong?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Sat Jan 18, 2003 1:50 am    Post subject: Could be Reply with quote

Wrong passwd or wrong users name or both .
Check to make sure if have both right .
Back to top
View user's profile Send private message
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Sat Jan 18, 2003 2:07 am    Post subject: Reply with quote

Hi,

look very carefully at line 35 and 36 of b2config.php. most likely a missing ';' or one too many or too few " ' ".

And as Candle said, while your there, make sure the user (mysql user) and password are correct. But with the parse error as described, PHP will stop parsing at that point and not see any of the rest of this file. It will try to use the other files and when it comes time to do the database query, guess what, the database user and password were not set because of the parse error, and bingo, your complaint about the user being incorrect....

regards,
michael e
Back to top
View user's profile Send private message Send e-mail
fallenn



Joined: 18 Jan 2003
Posts: 4

PostPosted: Sat Jan 18, 2003 10:57 pm    Post subject: Reply with quote

I have this
Quote:
Access denied for user: 'fairy_fallen@localhost' to database 'fairy_fallen'
[/quote]
Back to top
View user's profile Send private message
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Sat Jan 18, 2003 11:04 pm    Post subject: Reply with quote

Hi,

First, did the db get created and is the db name 'fairy_fallen' and the MYSQL user 'fairy_fallen'.

michael e


Last edited by macshack on Sat Jan 18, 2003 11:05 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
fallenn



Joined: 18 Jan 2003
Posts: 4

PostPosted: Sat Jan 18, 2003 11:04 pm    Post subject: Reply with quote

yes, thats what my host told me it was.
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
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
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