View previous topic :: View next topic |
Author |
Message |
Viper007Bond
Joined: 15 Aug 2003 Posts: 266 Location: Portland, Oregon, USA
|
Posted: Sun Nov 02, 2003 3:16 am Post subject: |
|
|
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 |
|
 |
13-syn
Joined: 15 Nov 2003 Posts: 2
|
Posted: Sat Nov 15, 2003 12:47 pm Post subject: need help |
|
|
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 |
|
 |
Graam
Joined: 20 Dec 2002 Posts: 133
|
Posted: Sat Nov 22, 2003 6:24 pm Post subject: |
|
|
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 |
|
 |
noie
Joined: 02 Jan 2004 Posts: 2
|
Posted: Fri Jan 02, 2004 11:06 pm Post subject: Grrr.... |
|
|
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 |
|
 |
Graam
Joined: 20 Dec 2002 Posts: 133
|
Posted: Sat Jan 03, 2004 12:02 am Post subject: |
|
|
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 |
|
 |
Risika
Joined: 30 Nov 2003 Posts: 1
|
Posted: Sat Jan 03, 2004 1:41 am Post subject: |
|
|
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
Thanks, and nice to meet everyone |
|
Back to top |
|
 |
epolady
Joined: 30 Jul 2002 Posts: 800 Location: Texas
|
Posted: Sat Jan 03, 2004 1:51 am Post subject: |
|
|
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 |
|
 |
x Jackie
Joined: 30 Jul 2003 Posts: 5 Location: Florida
|
Posted: Mon Jan 05, 2004 6:51 am Post subject: |
|
|
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 |
|
 |
Ender3D
Joined: 13 Jan 2004 Posts: 2 Location: USA, Pgh, PA
|
Posted: Wed Jan 14, 2004 6:07 am Post subject: |
|
|
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  _________________ *Looks around confused* ...whats that, music?... |
|
Back to top |
|
 |
XianghuaALPHA
Joined: 05 Aug 2003 Posts: 79 Location: Tulsa, OK
|
Posted: Thu Jan 29, 2004 4:30 pm Post subject: |
|
|
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
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 |
|
 |
Delirious_1
Joined: 29 Jan 2004 Posts: 2
|
Posted: Thu Jan 29, 2004 5:42 pm Post subject: Help Needed! |
|
|
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 |
|
 |
Serenia
Joined: 18 Feb 2004 Posts: 2
|
Posted: Wed Feb 18, 2004 5:18 am Post subject: |
|
|
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 |
|
 |
roasted
Joined: 29 Mar 2004 Posts: 2
|
Posted: Tue Mar 30, 2004 5:02 am Post subject: |
|
|
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 |
|
 |
trese
Joined: 03 Nov 2003 Posts: 3
|
Posted: Wed Mar 31, 2004 7:47 am Post subject: |
|
|
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 |
|
 |
stevem
Joined: 15 Mar 2003 Posts: 113
|
Posted: Thu Apr 01, 2004 6:01 pm Post subject: |
|
|
Remove any blank lines or empty spaces after the final ?> in b2config.php |
|
Back to top |
|
 |
|