View Full Version : SMF Database Error: (Unknown)
sebastianm10
11-26-2007, 11:43 PM
I have been getting this all day..
Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
And I cant figure out why, I contacted the SMF Forums and they say to use the Settings.php File, I did, i tried to customize it to the right things, but nothing worked, so i put the file back to normal, can someone help me? I dont want to make a new forum please! I got so much already into it...And SMF Told me if that doesnt work, i should Contact my Host Provider :S :(
backdoor
11-27-2007, 12:44 AM
########## Database Info ##########
$db_server = 'mysql';
$db_name = 'Database';
$db_user = 'Username'; // Will be the same thing as your database name (at least, on ulmb.com)
$db_passwd = 'Password';
$db_prefix = 'smf_Forum';
$db_persist = 0;
$db_error_send = 1;
Does yours look similar?
I'd be willing to bet you've set your info wrong.
arenlor
11-27-2007, 02:01 AM
The $db_name and $db_user variables will look something like 0000_name and your $db_prefix variable will be whatever you set that to, if you didn't use any prefix in your database you don't need one and should set that to ''
backdoor
11-27-2007, 07:00 AM
You should define it if you plan to use multiple forums on one database.
arenlor
11-27-2007, 09:05 PM
True, and that's how I suggest it, one DB per site unless you're developing your own software for it, in that case use a separate DB for that. But if you only have one and you decided to set it to nothing I didn't want him to delete the '' and have it just be =;
sebastianm10
11-28-2007, 01:09 AM
Not one post helped sadly... :(
Heres what mines look like
########## Database Info ##########
$db_server = 'mysql';
$db_name = '8320_smf';
$db_user = '8320_smf';
$db_passwd = '*****';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;
My Database is 8320_smf :( help?
UnlimitedMB
11-28-2007, 02:40 AM
did you run the smf installation script? after you upload the files and edit config.php you need to run the install script to setup the tables etc..
arenlor
11-28-2007, 03:08 AM
***Password Removed From Context***? You just gave away your password, blot it out with ***** next time. Eric can you fix?
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.