GithubHelp home page GithubHelp logo

sqlitetomysql's People

Contributors

mylk avatar rjjakes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sqlitetomysql's Issues

fail tail at the end

get this wrong extra lines at the end of result file

INSERT INTO sqlite_sequence VALUES('menu_tree',437);
INSERT INTO sqlite_sequence VALUES('sequences',1);
INSERT INTO sqlite_sequence VALUES('watchdog',562);
INSERT INTO sqlite_sequence VALUES('locales_source',9818);
INSERT INTO sqlite_sequence VALUES('locales_location',1328);
INSERT INTO sqlite_sequence VALUES('queue',659);
INSERT INTO sqlite_sequence VALUES('commerce_store',1);
INSERT INTO sqlite_sequence VALUES('taxonomy_term_data',43);
INSERT INTO sqlite_sequence VALUES('taxonomy_term_revision',43);
INSERT INTO sqlite_sequence VALUES('url_alias',8749);
INSERT INTO sqlite_sequence VALUES('cml',4);
INSERT INTO sqlite_sequence VALUES('file_managed',4562);
INSERT INTO sqlite_sequence VALUES('commerce_product',4353);
INSERT INTO sqlite_sequence VALUES('migrate_message_cml_product',73);
INSERT INTO sqlite_sequence VALUES('commerce_product_variation',4096);
INSERT INTO sqlite_sequence VALUES('commerce_order',3);
INSERT INTO sqlite_sequence VALUES('commerce_order_item',8);

[Major] miss index data

No Indexes in tables

In node tabel expect

CREATE TABLE `node` (
  `nid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `vid` int(10) unsigned DEFAULT NULL,
  `type` varchar(32) CHARACTER SET ascii NOT NULL,
  `uuid` varchar(128) CHARACTER SET ascii NOT NULL,
  `langcode` varchar(12) CHARACTER SET ascii NOT NULL,
  PRIMARY KEY (`nid`),
  UNIQUE KEY `node_field__uuid__value` (`uuid`),
  UNIQUE KEY `node__vid` (`vid`),
  KEY `node_field__type__target_id` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

but have

CREATE TABLE `node` (
  `nid` int(11) NOT NULL AUTO_INCREMENT,
  `vid` int(11) DEFAULT NULL,
  `type` varchar(32) NOT NULL,
  `uuid` varchar(128) NOT NULL,
  `langcode` varchar(12) NOT NULL,
  PRIMARY KEY (`nid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

exists PRIMARY KEY (nid)
not exists:

  UNIQUE KEY `node_field__uuid__value` (`uuid`),
  UNIQUE KEY `node__vid` (`vid`),
  KEY `node_field__type__target_id` (`type`)

Need for SET NAMES

SET NAMES utf8mb4;
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';

at the top of the result file to work with nolatin chars

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.