Background: The installation version of MySQL and my laptop have revenge, the last step old card dead
1. First unpack the downloaded compressed package , such as:
2. There will be a file called My-default.ini (of course I have changed to My.ini), change it to My.ini after the open:
3. Remove the # (in fact # this symbol and our general code of the same note),Basedir is the path of MySQL (you unzip to where you are, the specific as long as you can see the bin folder, do not point to the Bin folder inside the t-t, the people who have been the pit remind you) , DataDir is your database file storage path , this path with you but since MySQL has the directory of data, we still write the path of the data directory!
4. Change the environment variable, right--My computer, properties----Advanced settings, environment variables, and then in "System Variables", "System Variables", "System variables" (think of me when I am with the Java environment to write a lot of user variables), find path this variable, Then edit the cursor to the end with a semicolon, find the path you just unzipped the MySQL (this bold point to the bin directory), such as: My is C:Program files\mysql Server 5.6\bin paste in the last, save.
5. Open cmd as an administrator(start with all programs, accessories->cmd Run as Administrator), and then CD (Do not know Baidu) to the MySQL installation directory under the Bin folder , enter Mysqld-instal, prompt after successful input net start MySQL Open service:
6. If you have failed the above steps, please do your own Baidu
MySQL decompression version configuration environment, etc.