ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;

Reference Source: https://blog.csdn.net/yuxinha11/article/details/80090197

ENGINE = InnoDB is not the default is the engine?
- Yes, if you do not write is ok, it will take the default, here to write because you can clearly see the construction of the table statement with what, and when you create a table, write also a good habit

AUTO_INCREMENT = 22, since it is not growing it? Why set up digital?
- This is the increment, where setting numbers mean when you want to make this statement in growth, increasing from 22 starts since.

utf8 is not already set in my.ini in the past?
- although this too is set in my.ini, but the setting is the language of the mysql code, and when you create here is not set, there will be garbled, both set the character set when the scope is not the same, when creating the form, this charset will be applied to the table, he represented the resume database data mysql table utf-8

Guess you like

Origin www.cnblogs.com/yang101/p/11286780.html