1, the beginning I downloaded mysql-5.6 version of mysql official website
2. After downloading codecs For convenience, I put the file name into mysql-5.6
3, open mysql-5.6 folder to see if there are data files, not to create a data file, then copy the my-default.ini named my.ini
4, plus two open my.ini configuration file (here we must note the path configuration, your actual installation path must be correct, and as too is the path Please send CV '\' change '/', otherwise it will complain later, I just met this pit ... )
basedir = D:/software/mysql-5.6
datadir = D:/software/mysql-5.6/data
5, configure the environment variables in the control panel - plus a bin behind mysql-5.6 path environment variable to the configuration path, you install the "System and Security -" System - - "Advanced Settings."
6. Open the administrator CMD, the administrator must use open, not enough authority will then switch to the d: software \ mysql-5.6 \ bin ( your installation directory), execute mysqld --initialize-insecure --user = mysql, I perform error:
7, because the reason I mentioned earlier fourth point, right after the successful implementation of the modification: