MySQL修改最大连接数,没有my.ini文件,只有my-default,这怎么改呀?

Posted 敏捷人生@cnblogs

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL修改最大连接数,没有my.ini文件,只有my-default,这怎么改呀?相关的知识,希望对你有一定的参考价值。

# 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 

我的MySQL是在windows下安装的


MySQL修改最大连接数,没有my.ini文件,只有my-default,这怎么改呀? >> mysql

这个答案描述的挺清楚的:
http://www.goodpm.net/postreply/mysql/1010000007391271/MySQL修改最大连接数没有myini文件只有mydefault这怎么改呀.html



以上是关于MySQL修改最大连接数,没有my.ini文件,只有my-default,这怎么改呀?的主要内容,如果未能解决你的问题,请参考以下文章

Mysql的默认最大连接数及如何修改

mysql数据库的最大连接数怎么查询?

windows下MySQL5.6以上版本,如何通过修改配置文件来修改数据库的最大连接数啊?

mysql查看和修改最大连接数

MySQL 修改最大连接数

远程连接mysql数据库很慢,修改了my.ini配置文件,[mysqld]下加了skip-name-resolve并重启也没有用