使用PhpMyAdmin导出同一个表的结构:
`DROP TABLE IF EXISTS `test_apprentis`;
CREATE TABLE IF NOT EXISTS `test_apprentis` (
`a_id` smallint(10) NOT NULL,
`a_promo_id` smallint(11) NOT NULL,
`a_cursus` smallint(10) DEFAULT NULL
) ENGINE=MyISAM AUTO_INCREMENT=3665 DEFAULT CHARSET=utf8;`
Export with mysqldump:
DROP TABLE IF EXISTS `test_apprentis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `test_apprentis` (
`a_id` smallint(10) NOT NULL AUTO_INCREMENT,
`a_promo_id` smallint(11) NOT NULL,
`a_cursus` smallint(10) DEFAULT NULL,
PRIMARY KEY (`a_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3665 DEFAULT CHARSET=utf8;
Run Code Online (Sandbox Code Playgroud)
使用PhpMyAdmin,没有AUTO_INCREMENT也没有PRIMARY KEY为什么?
在访问对话框下启动 PhpMyAdmin 4.6.6 时,有:
OpenSSL error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Run Code Online (Sandbox Code Playgroud)
使用 PHP 7.1.1 或 7.0.15 或 5.6.30。