2008-07-24, 02:00 AM
I've migrated to a new host, i made a fresh install with the latest mybb. When i go into my cpanel and select phpmyadmin and import my backup of my previous forum i get this error:
Quote:Error
SQL query:
-- MyBB Database Backup
-- Generated: 08th March 2008 at 20:47
-- -------------------------------------
CREATE TABLE
KEY
) ENGINE = MYISAM DEFAULT CHARSET = latin1;
#1046 no database selected
i referenced this link on the forum for help: http://community.mybboard.net/archive/in...29457.html
and a member said this: "Well, the error doesn't lie. You have to have selected your MyBB database before you import your database backup, try it again after you select your db."
what is he referring to and can anyone help me resolve this problem?
Quote:Error
SQL query:
-- MyBB Database Backup
-- Generated: 08th March 2008 at 20:47
-- -------------------------------------
CREATE TABLE
mybb_adminlog
(uid
int( 10 ) unsigned NOT NULL default '0',dateline
bigint( 30 ) NOT NULL default '0',scriptname
varchar( 50 ) NOT NULL default '',action
varchar( 50 ) NOT NULL default '',querystring
varchar( 150 ) NOT NULL default '',ipaddress
varchar( 50 ) NOT NULL default '',KEY
scriptname
( scriptname
, action
)) ENGINE = MYISAM DEFAULT CHARSET = latin1;
#1046 no database selected
i referenced this link on the forum for help: http://community.mybboard.net/archive/in...29457.html
and a member said this: "Well, the error doesn't lie. You have to have selected your MyBB database before you import your database backup, try it again after you select your db."
what is he referring to and can anyone help me resolve this problem?