Reputation: 272372
I'm editing my.cfg right now and I want to change the max # of connections.
Upvotes: 0
Views: 209
Reputation: 754
# vi /etc/my.cnf
max_connections = 250
Open your MySQL configuration file in your favorite text editor and set the variable "max_connections" to the value you need. Once that's done, restart your MySQL daemon with /etc/init.d/mysqld restart (the init script path may differ on your system).
Upvotes: 3