TIMEX
TIMEX

Reputation: 272372

In MySQL , how do I change the maximum number of concurrent connections?

I'm editing my.cfg right now and I want to change the max # of connections.

Upvotes: 0

Views: 209

Answers (1)

sanghavi7
sanghavi7

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

Related Questions