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 Previous  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
Viper007Bond



Joined: 15 Aug 2003
Posts: 266
Location: Portland, Oregon, USA

PostPosted: Sun Nov 02, 2003 3:16 am    Post subject: Reply with quote

Talk to your hosting provider. It's not a b2 problem if you correctly entered your connection info.
_________________
http://www.viper007bond.com

If you haven't already installed b2, I advise you look into WordPress or b2evo instead as b2 is dead.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
13-syn



Joined: 15 Nov 2003
Posts: 2

PostPosted: Sat Nov 15, 2003 12:47 pm    Post subject: need help Reply with quote

My website doesn't have MySQL, so where can i find the script for Creating a MySQL database. I try the google search, but no luck. This MySQL is driving me crazy!
Thank you very much if you can help me.
Back to top
View user's profile Send private message
Graam



Joined: 20 Dec 2002
Posts: 133

PostPosted: Sat Nov 22, 2003 6:24 pm    Post subject: Reply with quote

If you're not hosting your site on your own machine (ie you have a web hosting provider), then there is no script for creating a mysql db. If it's not there, ask your provider if the will give you one. If they say no, then there isn't much you can do about it...
_________________
tin-men
powered by
Back to top
View user's profile Send private message Visit poster's website
noie



Joined: 02 Jan 2004
Posts: 2

PostPosted: Fri Jan 02, 2004 11:06 pm    Post subject: Grrr.... Reply with quote

I'm still having trouble installing, for some unknown reason.

Hi, by the way, nice to meet everyone.

So, my problem is pretty much the same as everyone else's, BUT, all I need is clarification on something. This is my error:

Warning: mysql_connect(): Access denied for user: 'orenjio_noie@localhost' (Using password: YES) in /home/orenjio/public_html/yakyak/b2install.php on line 17
Can't connect to the database
Access denied for user: 'orenjio_noie@localhost' (Using password: YES)

Now... Does that mean it thinks I should be using the password "YES"? And if so, is that case sensitive? If that's not right, then what should my password be if I was not asked to make one up when I created my DB user?

I'm not the brightest person, so this is over my head right now. Thanks for any help!!
Back to top
View user's profile Send private message Visit poster's website AIM Address
Graam



Joined: 20 Dec 2002
Posts: 133

PostPosted: Sat Jan 03, 2004 12:02 am    Post subject: Reply with quote

You need a password. Email your host if you're having problems with that. And you are aware that b2 isnt being developed anymore? Try wordpress or b2evolution (which I really recommend)
_________________
tin-men
powered by
Back to top
View user's profile Send private message Visit poster's website
Risika



Joined: 30 Nov 2003
Posts: 1

PostPosted: Sat Jan 03, 2004 1:41 am    Post subject: Reply with quote

I've tried installing b2, and when I go to b2install.php, this comes up:

Warning: mysql_connect(): Unknown MySQL Server Host '/home/withoutp/public_html/taxi/' (2) in /home/withoutp/public_html/taxi/b2/b2install.php on line 17
Can't connect to the database
Unknown MySQL Server Host '/home/withoutp/public_html/taxi/' (2)

I've read through this whole thread, maybe I've skipped something, but I have no idea what to do. My hostess gave me a MySQL account and here is what I put in b2config.php:

// ** MySQL settings **

# fill with your database details
$dbname = 'withoutp_blog2'; // the name of the database
$dbhost = 'localhost'; // 99% chances you won't need to change this value
$dbusername = 'withoutp_taxi'; // your MySQL username
$dbpassword = '******'; //

If someone could help as soon as possible I'd be very grateful Smile

Thanks, and nice to meet everyone
Back to top
View user's profile Send private message
epolady



Joined: 30 Jul 2002
Posts: 800
Location: Texas

PostPosted: Sat Jan 03, 2004 1:51 am    Post subject: Reply with quote

Never seen that error before, copy and paste that to your hostess and have her ask her host.
_________________
No more support from me. Goodbye!
Go upgrade to WordPress, you'll find better support there.
Back to top
View user's profile Send private message
x Jackie



Joined: 30 Jul 2003
Posts: 5
Location: Florida

PostPosted: Mon Jan 05, 2004 6:51 am    Post subject: Reply with quote

every time i run b2install.php i get this message:

Can't connect to the database . MySQL said:
No Database Selected

i ran the test script:

Code:
<?php
//
// test ability to connect to database
$dbname         = 'candice_jackie';       // the name of the database
$dbhost         = 'localhost';          // 99% chances you won't need to change this value
$dbusername     = candice_jackie';  // your MySQL username
$dbpassword     = '******';   // ...and password <<<<<< CHANGE TO CORRECT VALUE



mysql_connect($dbhost,$dbusername,$dbpassword) or
            die("Can't connect to the database server. MySQL said:<br />".mysql_error());
mysql_select_db("$dbname") or
            die("Can't connect to the database $base. MySQL said:<br />".mysql_error());

echo "Done";
?>


and it said 'done', so it's obviously working, right? but when i put the exact same info into the b2config.php it still says it can't connect to the database. any idea at all what's wrong?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ender3D



Joined: 13 Jan 2004
Posts: 2
Location: USA, Pgh, PA

PostPosted: Wed Jan 14, 2004 6:07 am    Post subject: Reply with quote

hey, i am having a prob with installing b2... below is the error that im getting


Parse error: parse error in /home/virtual/site67/fst/var/www/html/blogger/b2config.php on line 122
No Database Selected

i have also uploaded a seperate copy of the config file to be looked at if this will help, I have placed this file at:
http://www.bishopcomputers.com/b2config.phps

thans for any help that ayone can give Smile
_________________
*Looks around confused* ...whats that, music?...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
XianghuaALPHA



Joined: 05 Aug 2003
Posts: 79
Location: Tulsa, OK

PostPosted: Thu Jan 29, 2004 4:30 pm    Post subject: Reply with quote

Yea I REALLY suck at DB's and PHP - yet - I must ask - are you 100% sure your 'localhost' entry is correct?

That's all a newb noticed Smile



X A
_________________
[ [ - - There can be only 2 or 3 - - ]]

You know what. On a quite board - you end up talking to yourself alot....


Friends don't let friends play Tekken™
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Delirious_1



Joined: 29 Jan 2004
Posts: 2

PostPosted: Thu Jan 29, 2004 5:42 pm    Post subject: Help Needed! Reply with quote

this is what I get


Parse error: parse error in /home/jojo/public_html/b2/b2config.php on line 47
No Database Selected

I need some help
Back to top
View user's profile Send private message
Serenia



Joined: 18 Feb 2004
Posts: 2

PostPosted: Wed Feb 18, 2004 5:18 am    Post subject: Reply with quote

moose wrote:
GCTop989 wrote:
You know how you talked about the fact that "b2posts" already existed and that is why she got this error:

Now creating the necessary tables in the database...


doh, can't create the table "b2posts" in the database.

query:
CREATE TABLE b2posts ( ID int(10) unsigned NOT NULL auto_increment, post_author int(4) DEFAULT '0' NOT NULL, post_date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, post_content text NOT NULL, post_title text NOT NULL, post_category int(4) DEFAULT '0' NOT NULL, post_karma int(11) DEFAULT '0' NOT NULL, PRIMARY KEY (ID), UNIQUE ID (ID) )

error:
Table 'b2posts' already exists


Well you said to delete the tables. What do you mean by that? I looked at the tables in the b2config.php page, is that correct? And I remove what is there already and reupload? Or is it more sophisticated?


you need to manually delete them in PhpMyADMIN


I have the same problem. I'm installing it for a hostee. Where's PhpMyADMIN?
Back to top
View user's profile Send private message
roasted



Joined: 29 Mar 2004
Posts: 2

PostPosted: Tue Mar 30, 2004 5:02 am    Post subject: Reply with quote

i know this is getting irritatingly repetitive, but i'm continually getting the 'access denied' message. i tried the test script on one of the messages above, with no avail. just got this message:

Can't connect to the database . MySQL said:
Access denied for user: 'suffocation@localhost' to database 'b2'

i've created the database, checked my username & password and scanned the .php document for broken "" or ''. still nothing. i've also contacted my host and they've assured me that everything is set up fine. what's going on!
Back to top
View user's profile Send private message Visit poster's website
trese



Joined: 03 Nov 2003
Posts: 3

PostPosted: Wed Mar 31, 2004 7:47 am    Post subject: Reply with quote

i've had b2 for quite some time now but when one of my hostees requested me to install b2 for them, i did but i could not log in in my own blog after that. she also had problems with her b2.


_____________________________________________________________
Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 137

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 140

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 143

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 144

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 145

Warning: Cannot modify header information - headers already sent by (output started at /home2/trese/public_html/b2config.php:356) in /home2/trese/public_html/b2login.php on line 165
_________________________________________________________


hope someone could help me....!!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
stevem



Joined: 15 Mar 2003
Posts: 113

PostPosted: Thu Apr 01, 2004 6:01 pm    Post subject: Reply with quote

Remove any blank lines or empty spaces after the final ?> in b2config.php
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 Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 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