• 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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with uploading mySQL database to copied site’ is closed to new replies.