-1

ive installed MySQL but i can't find my.ini. I only have the my-default file in the map.Im trying to configure so that mysql can accept field with default value, but i cant find my.ini :P what should i do

Your Common Sense
  • 156,878
  • 40
  • 214
  • 345

1 Answers1

0

MySQL Server on Windows generally gets installed to:

C:\Program File\MySQL\MySQL Server x.x

The config file is located directly in the root of this directory, even though it may not initially be there.

You may see a file called my-default.ini, copy this file to my.ini and proceed with edits. When you restart the MySQL Server, it will now find that this file exists, and load from it.

Edit

According to the above posted documentation, the server will also look for said file at

C:\Windows\my.ini

Matt Clark
  • 27,671
  • 19
  • 68
  • 123