Computer >> Computer tutorials >  >> Programming >> MySQL

How to find MySQL my.cnf on my windows computer?


To find my.cnf on Windows system, first open the command prompt with the help of shortcut key Windows + R (run). The snapshot is as follows −

How to find MySQL my.cnf on my windows computer?

Type “services.msc” on command prompt and press ENTER as shown in the following screenshot −

How to find MySQL my.cnf on my windows computer?

Now, a new wizard will open. The snapshot is as follows −

How to find MySQL my.cnf on my windows computer?

Now, search for MySQL. The snapshot is as follows −

How to find MySQL my.cnf on my windows computer?

Right click on “MySQL80” and select “Properties” as in the following screenshot −

How to find MySQL my.cnf on my windows computer?

As you can see in the above screenshot, “Path to executable” tells about the location of my.cnf on Windows.