ramesh
|
Posted: 03/12/2004, 5:00 AM |
|
hi
im frequently getting the following error while using CCS.
Warning: Too many connections in ./db_mysql.inc on line 72
Database error: connect(10.256.0.41, root, $Password) failed.
MySQL Error: ()
Session halted.
pls help me
- rams
|
|
|
RonB
Posts: 228
|
Posted: 03/12/2004, 6:03 AM |
|
You are probably using persistent connections. If so ,and running mysql on win2k or any other windows flavour, this is what's causing the problems. windows/ampache do not work well with persistent connection. Each request is seen as "new" and will open another connection instead of reusing an existing one. uncheck use persistent in the server tab of the connection box and the problem will most likely go a way. If not you'll have to alter the my.ini file under windows and up the number of max connections.
|
|
|
ramesh
|
Posted: 03/12/2004, 6:25 AM |
|
thank u boss
can u tell me that my.ini file path?
- rams
|
|
|
peterr
Posts: 5971
|
Posted: 03/12/2004, 1:07 PM |
|
Open the MySQL manual (C:\mysql\Docs\manual.html) and search for "Too many connections". The answer is right there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
peterr
Posts: 5971
|
Posted: 03/12/2004, 1:13 PM |
|
Though maybe this thread could be worth reading as well: http://groups.google.com/groups?th=f5cc33d7edb41888&see...TU.edu.tw#link1
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
RonB
Posts: 228
|
Posted: 03/18/2004, 6:48 AM |
|
c:\WINNT for win2k
|
|
|