Error: drop table if exists `innodb_index_stats` - UNKNOWN_CODE_PLEASE_REPORT

The issue was due to a silly mistake by me so the solution was:
Create a database and add some environment variables to ecosystem.config.js