max_connections is the maximum connection the mysql daemon can handle at one time. You can change the variables there by specifying on the command line
mysqld -O max_connections = 1000
I'm not sure whether you can put them in the config file (my.cnf). Anyway why don't you try read mysql docs. There's a bunch of configuration directives there...