Question:
MySQL 5.6 Configuration File ?
anonymous
2013-06-08 09:09:38 UTC
I'm learning mysql now and the tutorial said about my.ini file in the c:\Program Files\MYSQL\My SQL Server \bin

but there is not a file named my.ini there but there is my-default there, should i change my-default to my.ini ?

but in mysql 5.6 program still read config file using my.ini

this is all the content in my-default,.. is this enough as the default config?
__________________________________________________________________-

# 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
Four answers:
Brent
2013-06-11 01:15:01 UTC
he package set installs three individual packages, SUNWmysql56lib, which contains the MySQL client libraries; SUNWmysql56r which contains the root components, including SMF and configuration files; and SUNWmysql56u which contains the scripts, binary tools and other files. You can install these packages individually if you only need the corresponding components.



The MySQL files are installed into /usr/mysql which symbolic links for the sub directories (bin, lib, etc.) to a version specific directory. For MySQL 5.6, the full installation is located in /usr/mysql/5.6. The default data directory is /var/mysql/5.6/data. The configuration file is installed in /etc/mysql/5.6/my.cnf. This layout permits multiple versions of MySQL to be installed, without overwriting the data and binaries from other versions.
kokal
2016-12-08 20:46:44 UTC
Mysql 5.6 My.cnf
cynde
2016-10-20 01:10:59 UTC
try this..
Calvin K
2013-06-08 18:46:19 UTC
http://stackoverflow.com/questions/2482234/how-to-know-mysql-my-cnf-location


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...