max_connections in mysql
hi i have centos vps whch i am connecting through putty from my local windows 7, mostly things were installed by my provider, now the problem is some of my website pages give me error sometime cant connect to database, my provider told me to increase max_connections in mysql setting maybe it could help, i don't know where to look that file, i did this # nano /etc/my.cnf and i saw the file has only two lines as below:
please any help how can i change maz_connections. i am very new to this all.
Thanks for the support