Drupal Association members fund grants that make connections all over the world.
I'm using MediaElement to show a list of mp3-Files on a page. The Player works fine, but there is a problem after the page is loaded. Every next click produces the following error-message:
PDOException: SQLSTATE  User ****** already has more than 'max_user_connections' active connections in lock_may_be_available() (line 167 of /www/htdocs/******/drupal7/includes/lock.inc).
After talking to my provider I checked the processes in phpMyAdmin and there are 20 processes sleeping. I guess, the problem is, that I have too many player instances loaded. There are 37 mp3-files, and every file has its own player.
I'm not sure, if this is a bug or a limitation.
Can anyone help me solving this problem? It's important to have all files playable on one page.