Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 39317

bartandlife on "Error 1046 on import from old backup"

$
0
0

I used to use a plugin that sent daily backups of my WP db to my email.
This was back in 2007.
I recently installed WP and attempted to import the sql file but get the following error:

Error
SQL query:

# WordPress MySQL database backup
#
# Generated: Friday 18. May 2007 12:59 CDT
# Hostname: localhost
# Database: <code>olddb_johndoe</code>
# --------------------------------------------------------
# --------------------------------------------------------
# Table: <code>wp_categories</code>
# --------------------------------------------------------
#
# Delete any existing table <code>wp_categories</code>
#
DROP TABLE IF EXISTS <code>wp_categories</code> ;

MySQL said: 

#1046 - No database selected

Can someone explain what i am doing wrong?


Viewing all articles
Browse latest Browse all 39317

Trending Articles