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`

MySQL said:

#1046 - No database selected

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


1 Answer

0 votes
Apr 21, 2012 by WebProX

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.