Support Forums
MySQL DB import problem - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Web Server Support and Setup Help (https://www.supportforums.net/forumdisplay.php?fid=37)
+---- Thread: MySQL DB import problem (/showthread.php?tid=18115)



MySQL DB import problem - Tobe - 04-19-2011

When I try to import a db, it come with this error.
Code:
--
-- Table structure for table `mybb_adminlog`
--
DROP TABLE IF EXISTS  `mybb_adminlog` ;




#1046 - No database selected

I don't know about this could help, but I'm using PHPMyAdmin and I'm running on a localhost (wamp)


RE: MySQL DB import problem - Gaijin - 04-19-2011

You are obviously trying to access an database that doesn't exist, "No database selected!".
I think you have an USE statement which tries to use your old database, instead of your new one.
You are trying to import whole database, not a single table.


RE: MySQL DB import problem - Tobe - 04-19-2011

Thanks for helping me out Thumbsup