mySQL 1046 error when importing wordpress database

Posted by j-man86 on Stack Overflow See other posts from Stack Overflow or by j-man86
Published on 2010-04-25T11:55:13Z Indexed on 2010/04/25 12:03 UTC
Read the original article Hit count: 273

Filed under:
|
|
|

I'm moving a locally developed wordpress site to a client's server so I'm trying to export the local database and import it to the server. I exported the .sql file according to the instructions here http://codex.wordpress.org/Backing_Up_Your_Database but I keep getting this error when importing:

DROP TABLE IF EXISTS `wp_commentmeta` ;

MySQL said: Documentation
#1046 - No database selected 

Any help very much appreciated. Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about Wordpress