title: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: in mysql
body: <p>Hi I have created jdbc program and database is MySQL 5.1
  Also all my friends using same database for connection. Total number of connection became 150 from all of us.
  So when i want to connect more then i got the following error</p>
  
  <p>com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.</p>
  
  <p>How to resolve this error.</p>
  
  <p>Thanks
  Sunil Kumar Sahoo</p>