Home  >  Article  >  Database  >  Where is my.ini in mysql

Where is my.ini in mysql

WBOY
WBOYOriginal
2022-05-19 15:40:3532376browse

The "my.ini" file in mysql: 1. In the Linux system, the location of the file is "/etc/mysql/my.cnf"; 2. In the Windows system, the location of the file is "C :\Program Files\MySQL\MySQL Server\my.ini".

Where is my.ini in mysql

The operating environment of this tutorial: windows7&&linux 7.3 system, mysql5.1 version, Dell G3 computer.

Where is my.ini in mysql

The Linux version is my.cnf, which is usually placed in /etc/my.cnf, /etc/mysql/my.cnf;

The one under win is my.ini, which is usually in the root directory of the installation directory. Mysql can run even without this configuration file, unlike the php language, which must have php.ini in the window directory to run correctly.

Specific search method under windows:

The MySQL configuration file is called my.ini under Windows and is in the root directory of MySQL installation;

1. Run | Search | Enter the file name my.ini

2, then right-click | Properties to see the save location of the file

Generally it should be C:\Program Files\MySQL\MySQL Server 5.1\my. ini

Where is my.ini in mysql

Where is my.ini in mysql

## Recommended learning:

mysql video tutorial

The above is the detailed content of Where is my.ini in mysql. 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