How to fix error 1146 in MySQL?
When your application complains about missing database tables, it can stop functionality and confuse even experienced developers. The warning error 1146 appears when your SQL code refers to a table that the MySQL server can’t find in the current database. This may happen if the table was deleted, renamed, or created in a different database by mistake. To solve it, double-check that the table name matches exactly. MySQL table names are case sensitive on some systems and confirm you’re using the right database connection. If tables were lost due to corruption or accidental deletion, a recovery solution can help recover the missing data and get your database back on track.
For more: https://www.convertertools.org/blog/fix-mysql-error-1146-table-doesnt-exist/