View Full Version : installing b2


zangerbanger
06-21-2003, 10:33 PM
I'm planning on switching from Greymatter to B2 for my blog and I'm a bit confused. I downloaded all the files, uploaded them, made sure that my host has PHP and mySQL support so I think I'm safe. My main problem comes in the step where it says to edit b2config.php with a text editor (notepad). When I open it, all I see is a huge mess of letters and numbers. I'm really lost and I need help. Anybody?

By the way: When I open b2install.php, I get a message saying:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'user@localhost' (Using password: YES) in /home/eternald/public_html/jordan/b2install.php on line 17
Can't connect to the database
Access denied for user: 'user@localhost' (Using password: YES)

kittycat
06-22-2003, 12:21 AM
I think you get that error if you don't edit b2config.php so that it has all the correct database info and such. If it looks messed up when you open it in notepad, you'll have to use something else... I've used EditPad to edit the file before, so I know it will open it properly.

zangerbanger
06-22-2003, 02:21 AM
Thanks for helping me sort that mess out. Now that I can actually see the coding, I've adjusted everything to my liking and it's still not working because of database problems. I was wondering, is your database name/password the same thing that you use to get on your FTP? *this seems like a dumb question to me*

Dude128
06-22-2003, 02:32 AM
not necessarily. you will probably have to contact your host to find out what information you need to use, as it depends on the host. some may set it up so that it is the same as your login information, or you may have to set up the database yourself- speaking of which, do you have a control panel? do you know for sure that you have a database set up? you may need to use a MySQL administration tool in your control panel if you have one to set up a database first.

zangerbanger
06-22-2003, 02:34 AM
Nope, I don't have a control panel. I'm merely a hostee :stickout: . I'll be sure to ask my host the next time I see him :) . Thanks for the help!