-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Steps to reproduce
1.Have a MySQL Database with a Table with a int primary key with autoincrement
2.Have Data in your table
3.Select the Database from the left database menu (tree)
4.Click on Export from the top menu.
5.Check "Custom - display all possible options"
6.Uncheck the "data" from the export options (export only structure)
Expected behaviour
ALTER TABLE bank_account_statements
MODIFY id_bank_account_statement int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
Actual behaviour
-- See that AUTO_INCREMENT = 4 should not be there. Since I want to export a table with no data.
ALTER TABLE bank_account_statements
MODIFY id_bank_account_statement int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
Server configuration
Operating system:
Localhost via UNIX socket
Web server:
5.6.38 - MySQL Community Server (GPL)
PHP version:
5.6.34
Database:
MySQL
phpMyAdmin version:
4.7.7
Client configuration
Browser:
Google Chrome
Operating system:
Windows 10