Foreword
After the default installation of mysql command-line tool only, so we can download some database administration tool Navicat
Navicat use
-
First, establish a connection Select mysql, fill in the information
-
Found more than a localhost, double-click to open the connection, you can cancel the connection right
-
Right-new database, enter the database name, character set (utf-8), (general rule utf8_general_ci /) collation
-
Click OK found in a database, but is gray, double-click to open, if required, can be turned off right
-
Right-new form, fill in the fields of information (length good enough, too long will reduce the performance of a waste of space, up to 255), check is not null, meaning whether to allow empty, save later
-
Found in a table, right-designed table can re-edit the table, select the id field is checked automatically increments (such as the first user is 1, the second is 2 ....)
Note: Before using the first start mysql Navicat