By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,615 Members | 1,961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,615 IT Pros & Developers. It's quick & easy.

How To Increase Max_Allowed_Packet In Mysql In Windows 8 I Tried Editing .Ini File Bu

P: 1
I tried editing .ini file, it prompts access in denied. And if i try to chnage using command prompt that also it does no allow me to do so.I cannot even use "Show Max_allowed_packets". It says show is not recognized as internal and external command.

Expand|Select|Wrap|Line Numbers
  1. # For advice on how to change settings please see
  2. # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
  3. # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
  4. # *** default location during install, and will be replaced if you
  5. # *** upgrade to a newer version of MySQL.
  6.  
  7. [mysqld]
  8.  
  9. # Remove leading # and set to the amount of RAM for the most important data
  10. # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
  11. # innodb_buffer_pool_size = 128M
  12.  
  13. # Remove leading # to turn on a very important data integrity option: logging
  14. # changes to the binary log between backups.
  15. # log_bin
  16.  
  17. # These are commonly set, remove the # and set as required.
  18. # basedir = .....
  19. # datadir = .....
  20. # port = .....
  21. # server_id = .....
  22.  
  23.  
  24. # Remove leading # to set options mainly useful for reporting servers.
  25. # The server defaults are faster for transactions and fast SELECTs.
  26. # Adjust sizes as needed, experiment to find the optimal values.
  27. # join_buffer_size = 128M
  28. # sort_buffer_size = 2M
  29. # read_rnd_buffer_size = 2M 
  30.  
  31. sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

this is my .ini file
Aug 20 '15 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,035
find the file 'Notepad.exe' in Windows Explorer, right-click on it, and choose 'Run as administrator'.

From that notepad, open your ini-file.
Sep 12 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.