on-internet
← Community

PhpMyAdmin export does not include PRIMARY KEY as mysqldump

Stack Overflow ·

Export of the struture of the same table with 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` smal

Comments

Sign in or sign up to comment and upvote.

No comments yet.