BlueG's MySQL - Too Many Connections
#2

You need to use mysql_errno to check if the connection was successful.

As for the error #1040, I'm not sure if the connection is still active if you don't close the connection with mysql_close when shutting down the server.

Another interesting thing is this: http://stackoverflow.com/a/34176072
Reply


Messages In This Thread
BlueG's MySQL - Too Many Connections - by Jonesy96 - 31.05.2016, 18:00
Re: BlueG's MySQL - Too Many Connections - by Konstantinos - 31.05.2016, 18:14
Re: BlueG's MySQL - Too Many Connections - by Jonesy96 - 31.05.2016, 19:14
Re: BlueG's MySQL - Too Many Connections - by Konstantinos - 31.05.2016, 19:44
Re: BlueG's MySQL - Too Many Connections - by Jonesy96 - 31.05.2016, 19:54
Re: BlueG's MySQL - Too Many Connections - by Konstantinos - 31.05.2016, 20:03
Re: BlueG's MySQL - Too Many Connections - by Jonesy96 - 31.05.2016, 20:08
Re: BlueG's MySQL - Too Many Connections - by iKevin - 31.05.2016, 20:09
Re: BlueG's MySQL - Too Many Connections - by Jonesy96 - 31.05.2016, 20:29
Re: BlueG's MySQL - Too Many Connections - by alexanderjb918 - 31.05.2016, 20:31

Forum Jump:


Users browsing this thread: 1 Guest(s)