Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySQL DB import problem
#1
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)
Reply
#2
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.
Reply
#3
Thanks for helping me out Thumbsup
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  howto: Optimizing MySQL Solidus 6 3,948 04-17-2011, 05:38 PM
Last Post: Solidus
  Installing .php, mysql and apache on Ubuntu [Help] haphazard 0 740 10-27-2010, 08:00 PM
Last Post: haphazard

Forum Jump:


Users browsing this thread: 1 Guest(s)