Install the basic configuration of mysql

Source: Internet
Author: User

Install the basic configuration of mysql

1. Add Environment Variables
Right-click the computer and choose Properties> advanced system Settings> environment variables. Find Path in the system variables and double-click. Click Edit to add the path of the binfile in mysql to the last line, for example, F: \ AppSev \ AppServ \ MySQL \ bin, and save it.

2. modify my. ini in my. ini.

[Mysqld]

Port = 3306

// If you do not want to use port 3306, you can change it.

Basedir = "F: \ AppSev \ AppServ/MySQL"
// Path of your mysql Installation

Datadir = "F: \ AppSev \ AppServ/MySQL/data /"

// Path of the data file in your mysql

Default-storage-engine = INNODB

SQL-mode = "NO_ENGINE_SUBSTITUTION, STRICT_TRANS_TABLES"

Bind-address = 127.0.0.1 // This will determine whether your mysql can connect to the local

// If there is # in front of these statements, you only need to delete #. If no # exists, you do not need to modify it.

 

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.