1040 - Too many connections

SET SQL_BIG_SELECTS=1

[STOP] link = db_link () connection is not alive ...