Mysql connection was set for StockStatus()