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.