Thread Closed 
Migraine!
Author Message
Joom
WOOP
Worlds End

Posts: 4,206.7320
Threads: 417
Joined: 20th Mar 2009
Reputation: 5.41709
E-Pigs: 134.1772
Offline
Post: #1
Migraine!
So, I have a new host (000webhost is just too annoying) and I'm working on moving my MyBB forum. I used PHPMyAdmin to dump the database and I'm trying to import it with my new host's PHPMyAdmin. Thing is, I get this error.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SQL query:

--
-- Database: `a4377973_mybb`
--
-- --------------------------------------------------------
--
-- Table structure for table `mybb_adminlog`
--
CREATE TABLE `mybb_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 ,
KEY `module` ( `module` , `action` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8;

MySQL said: Documentation
#1046 - No database selected


I really have no idea what to do. :/


[Image: ROVBdMh.png]
3DS Friend Code: 5000-6045-4964
13/11/2010 06:43 PM
Find all posts by this user
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #2
RE: Migraine!
You need to create a database and "enter" this database before you can run queries.
13/11/2010 07:19 PM
Visit this user's website Find all posts by this user
Joom
WOOP
Worlds End

Posts: 4,206.7320
Threads: 417
Joined: 20th Mar 2009
Reputation: 5.41709
E-Pigs: 134.1772
Offline
Post: #3
RE: Migraine!
Huh...I feel kinda stupid now. Thanks Zinga. :P

[Image: ROVBdMh.png]
3DS Friend Code: 5000-6045-4964
13/11/2010 07:29 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: