
I changed max_connection value is 1 / hour in mysql server.than I close the mySql workbench and I again try to open.It shows the above error what can I do can any one tell how to fix this.
Thanks in advance

I changed max_connection value is 1 / hour in mysql server.than I close the mySql workbench and I again try to open.It shows the above error what can I do can any one tell how to fix this.
Thanks in advance
my problem is solved using following way
Actually what i did wrong is i set max_connection_per_hour=1 in my workbench settings.
that's why i can't open the connection for some period of time .now i solved using terminal with the use of following command
$ mysql -u root -p
then i just enter the password for root user than i use the following command
mysql>$ grant usage on . to 'root'@'localhost' with max_connections_per_hour 0;
after than i can open my connection with out any problem.
i tried this command many times but after one hour only it works for me before that it gives me an error
Try to restart the mysql server, from command line as root do mysqld restart. Restarting workbench does not kill the connections.