Click here to Skip to main content
15,880,364 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please don't tell me to google. I have been searching solution for this, for several days. 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.



# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.

[mysqld]

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....


# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES


this is my .ini file
Posted
Comments
Michael_Davies 20-Aug-15 10:10am    
SHOW is an SQL command use the MySql command prompt to execute it.

Your problem is permissions on the directory holdin the ini file, are you logged in as an admin account, if so you can elevate or change the security make the change and un-change the security (important). You could also try making a copy of the ini, alter the copy, rename the original to original.ini and copy the altered ini back into the directory if you get denied access you will need admin privilege to make the change.
Member 9671810 20-Aug-15 10:14am    
how can i get the admin previlage? OR how can i change use command prompt??
can u give me some detailed steps?

C:\Program Files\MySQL\MySQL Server 5.6>

after this what to do??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900