Question: I created a dropdown list but it only works in Firefox, it does not work in Google Chrome. Can kindly tell me what I'm missing?

```
<p>
<label for="Department">Your Department: </label>
<datalist id="Department">
<option value="Microbiology">
<option value="Mathematics">
<option value="Animal sciences">
<option value="Agricultural Economics">
<option value="Medicine">
<option value="Pharmacy">
<option value="Human Nutrition">
<option value="English">
<option value="Dentistry">
</datalist>
<input type="text" name="Department" id="Department" �
list="Department" />
<p>

```

Answer: 
Incrementation of *hibernate.c3p0.max\_size* does not help, because MySQL database does not have more connections to offer. As [documented](http://dev.mysql.com/doc/refman/5.6/en/too-many-connections.html), default value for max\_connections is 151:

> 
> The number of connections permitted is controlled by the
>  max\_connections system variable. The default value is 151 to improve
>  performance when MySQL is used with the Apache Web server.
> 
> 
> 

Setting this variable is effective immediately without restart:

```
    set global max_connections = 500;

```

To keep this setting also after restart, following should be added to my.cnf:

```
    max_connections = 500

```
Your error message says:

> 
> Data source rejected establishment of connection, message from server: "Too many connections"
> 
> 
> 

It that message is not totally misleading (which you can easily verify by setting a breakpoint in SqlExceptionHelper, and inspect local variable containing the initial exception object, which contains a stack trace that should identify where exactly the exception originated from), it tells you that the database server has a limit for the amount of concurrent connections, too ...