Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5527

patmorris on "Problem with uploading mySQL database to copied site"

$
0
0

I am trying to convert a Wordpress website (eacba.com) to a new website (eacba.org) on the same server. Following instructions on Hostgator I attempted to export the SQL database eacbalaw_wrdp1 and import it into eacbalaw_wrdp2. When I did that I got the following error message (with some --- and extra lines removed):

Error

SQL query:
--
-- Database: <code>eacbalaw_wrdp1</code>

-- ----------------------------------------------------
-- Table structure for table <code>wp_commentmeta</code>
--
CREATE TABLE IF NOT EXISTS <code>wp_commentmeta</code> (
  <code>meta_id</code> bigint(20) unsigned NOT NULL,
  <code>comment_id</code> bigint(20) unsigned NOT NULL DEFAULT '0',
  <code>meta_key</code> varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  <code>meta_value</code> longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
MySQL said: Documentation

#1046 - No database selected

I'd appreciate any suggestions as to how to fix this.


Viewing all articles
Browse latest Browse all 5527

Trending Articles