I am using django with mysql on ubuntu 12.04.
It's strange that when I tried to do very simple command in mysql, it will suggest error "ERROR 1040 (HY000): Too many connections"
All I want to do is create about 20 tables using a django mysql framework, south. I am the only user connecting mysql, how come there are too many connections?
I did not change the configuration file in mysql, so the max connections should be default 150, I believe.
Could anyone help me with that? Thanks a million
update 1: After I restart mysql server and run show processlist, I found 26 connections even though I am not doing anything. Sometimes the number would drop to 10, and come up again at 25 or something. Is that normal?
update 2:
Okay, I found what's the problem. Thanks for your help.