0

I tried to change its value but in vain, in fact I didn't find my.ini but i found many files of configuration and i edited them all(I edited the value of max_allowed_packet under [mysqld] section. enter image description here But I didn't get the result; the variable has not been changed

Houssam Badri
  • 2,441
  • 3
  • 29
  • 60

2 Answers2

2

Possible duplicate, please see if this can help to resolve your problem.

Also, Ivan is correct - the my.ini file should be in bin.

If the my.ini file cannot be found, any of the config files can be renamed to my.cnf to change MySQL's max_allowed_packet to the value of the max_allowed_packet variable in that config file.

Community
  • 1
  • 1
Zach H
  • 257
  • 1
  • 3
  • 15
-1

You can locate the my.ini file from service properties, just run services.msc and open MySQL service.

enter image description here

If you mysql installation run as process then my.ini will be found in c:\windows

Ivan Cachicatari
  • 4,212
  • 2
  • 21
  • 41