Welcome, Guest. Please Login or Register.
April 28, 2025, 03:24:29 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Unable to create Admin account « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Unable to create Admin account  (Read 582 times)
tlikb
Noobie
*
Posts: 40


I'm who I am!

WWW
Unable to create Admin account
« on: January 11, 2002, 09:22:47 AM »
Reply with quote

When I install everything was fine until creating Admin account.  I says table 'dbname.yabbse_members' not found.  The reasion is that I specify the db table prefix to yabbse but it does not use when creating the table.  When it tries to create the Admin account it looks for the table with prefix, so that it could not find.

Does anyone has this problem?  How would you fix it to have the table prefix works?

Thank you!
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Unable to create Admin account
« Reply #1 on: January 11, 2002, 10:21:05 AM »
Reply with quote

Quote from: tlikb on January 11, 2002, 09:22:47 AMWhen I install everything was fine until creating Admin account.  I says table 'dbname.yabbse_members' not found.  The reasion is that I specify the db table prefix to yabbse but it does not use when creating the table.  When it tries to create the Admin account it looks for the table with prefix, so that it could not find.

Does anyone has this problem?  How would you fix it to have the table prefix works?
Just an idea to try out: maybe the dot "." in the prefix is the problem? Try out 'dbname_yabbse_members', I mean replace the dot "." by an underline "_".
Logged

Ted
(purple cow)
YaBB Crony
Full Member
***
Posts: 182


ICQ - 111893141
Re:Unable to create Admin account
« Reply #2 on: January 11, 2002, 10:54:46 PM »
Reply with quote

Yes; andrea is right - dots are used for making joint queries. They won't work as part of a table name.
Logged
tlikb
Noobie
*
Posts: 40


I'm who I am!

WWW
Re:Unable to create Admin account
« Reply #3 on: January 12, 2002, 01:05:14 AM »
Reply with quote

Oh! No.  My prefix is only yabbse the dbname in part of 'dbname.yabbse_members' is mySQL database name.

If I don't use the prefix it works!  However, I want to use this feature to have two boards sharing same database.
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Unable to create Admin account
« Reply #4 on: January 12, 2002, 01:35:21 AM »
Reply with quote

How does the db info in your Settings.php look like? Is the $db_prefix set?

The db_prefix is working fine in my board. In my Settings.php the db info section looks like this:

########## Database Info ##########
$db_name = "xxxxxxxxxxxxxxx";
$db_user = "xxxxxxxxxxxxxx";
$db_passwd = "xxxxxxxxxxxxxx";
$db_server = "localhost";
$db_prefix = "yabbse_";
Logged

tlikb
Noobie
*
Posts: 40


I'm who I am!

WWW
Re:Unable to create Admin account
« Reply #5 on: January 12, 2002, 10:38:05 PM »
Reply with quote

Mine looks like this:

$db_name = "xxxxxx";
$db_user = "xxxxxxxxxx";
$db_passwd = "xxxxxxxx";
$db_server = "localhost";
$db_prefix = "";

So, the installer did not put this in correctly.  There fore the tables created without prefixes.  However, when the installer tries to create the admin account, it looks for the name of the table with prefix.  That's is where it messes up.

Now, I can't add the prefix because the tables were created without.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Unable to create Admin account « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.100 seconds with 16 queries.