WordPress.org

Support

Support » How-To and Troubleshooting » Can’t restore MySQL Database

Can’t restore MySQL Database

  • I’m trying to move my blog from one host to another, but I can’t seem to upload the MySQL backup. The browser shows this:

    /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
    ————–

    ————–
    /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
    ————–

    ————–
    /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
    ————–

    ————–
    /*!40101 SET NAMES utf8 */
    ————–

    ————–
    /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */
    ————–

    ————–
    /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */
    ————–

    ————–
    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=’NO_AUTO_VALUE_ON_ZERO’ */
    ————–

    ————–
    DROP TABLE IF EXISTS wp_categories
    ————–

    ————–
    CREATE TABLE wp_categories (
    cat_ID bigint(20) NOT NULL auto_increment,
    cat_name varchar(55) NOT NULL default ”,
    category_nicename varchar(200) NOT NULL default ”,
    category_description longtext NOT NULL,
    category_parent int(4) NOT NULL default ‘0’,
    PRIMARY KEY (cat_ID),
    KEY category_nicename (category_nicename)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1
    ————–

    Can I fix it?

  • The topic ‘Can’t restore MySQL Database’ is closed to new replies.