Home >Database >Mysql Tutorial >What should I do if mysql does not have my.ini document?
The solution to the problem that mysql does not have the my.ini document: First find the mysql installation file; then copy [my-default.ini], paste it into the installation directory and rename it [my.ini].
Mysql does not have my.ini solution:
1. The reason why there is no my.ini
The installation of mysql database can be divided into two methods: decompression method and installation method.
The difference between the two is:
In the installation method, a wizard program is usually run. When you follow the wizard to complete the installation step by step, mysql will be installed and a mysql will be generated in the installation directory. .ini file
Decompression method, after decompression is completed, there will be a default configuration file my-default.ini in the installation directory, as shown below:
##2. How to add my.ini
This is very simple, just copy my-default.ini, paste it into the installation directory and rename it my.iniMore related free learning recommendations: mysql tutorial(Video)
The above is the detailed content of What should I do if mysql does not have my.ini document?. For more information, please follow other related articles on the PHP Chinese website!