Home  >  Article  >  Database  >  What should I do if mysql does not have my.ini document?

What should I do if mysql does not have my.ini document?

coldplay.xixi
coldplay.xixiOriginal
2020-10-13 15:44:3220957browse

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].

What should I do if mysql does not have my.ini document?

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:

What should I do if mysql does not have my.ini document?

##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.ini

More 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn