Metabase and Magento (Mysql) error

I have a Magento (Mysql) connection with metabase but it stopped working, I checked and my Metabase’s IP address has permission, my user is still valid but I’m getting the following error:

Dec 11 18:22:01 WARN metabase.query-processor :: Query failure: Connections could not be acquired from the underlying database!
Dec 11 18:25:49 ERROR metabase.driver.generic-sql.query-processor :: nil
Dec 11 18:25:49 ERROR metabase.driver.generic-sql.query-processor :: nil
Dec 11 18:25:49 ERROR metabase.db.metadata-queries :: Error fetching table row count. Query returned:
nil
Dec 11 18:25:49 ERROR metabase.sync.util :: Unable to determine row count for Table 228 ‘catalog_product_flat_50’: class java.lang.NullPointerException
[]

What should I teste, or what can I do to identify the problem?
Thanks in advance!