Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Database uploading error

Apr 21, 2012 by Jake
Greetings all..

I am trying to migrate my website. I'm using phpmyadmin and I'm not able to upload the databases. I tried uploading the database in compressed (tar.gz)and .sql (uncompressed) formats. In both cases I got the following error:


SQL query:

--
-- Table structure for table `ads`
--
DROP TABLE IF EXISTS `ads` ;


MySQL said:

#1046 - No database selected

I would appreciate it if someone can please help me out.

regards

1 Answer

0 votes
Apr 21, 2012 by WebProX
hi..

Create the database first and then after you create it click on the database in the left side menu so that you are inside that database. Then inside there you will see import.