MySQL decompression version configuration environment, etc.

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.