2010-01-18, 07:57 AM
So I had to restore the database. I deleted the original database, and files on the server. Then I installed a clean installation of MyBB and imported the sql file. I read on here that I should delete (or drop) everything in the db where I was going to restore the file and every time I've gotten this error:
Oh Didn't remember to select the database.
Quote:SQL query:
-- MyBB Database Backup
-- Generated: 18th January 2010 at 07:30
-- -------------------------------------
CREATE TABLEmybb_adminlog
(
uid
int( 10 ) unsigned NOT NULL default '0',
ipaddress
varchar( 50 ) NOT NULL default '',
dateline
bigint( 30 ) NOT NULL default '0',
module
varchar( 50 ) NOT NULL default '',
action
varchar( 50 ) NOT NULL default '',
data
text NOT NULL ,
KEYmodule
(module
,action
)
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
Oh Didn't remember to select the database.