Topic: MySql Online Error Msg

I think this may be a question for Dimitry. I created an MVD project using a MySql database. It works fine on my localhost. I uploaded the database to an online service. My app connects to the online database just fine, but I get the attached error message. It shows that the table does not exist, but it does. PhpMyAdmin shows that the tables are definitely in the online database with all the data. The database name is "sql9353369" and it looks like MVD appends it to the tablename. Any idea what the cause and solution? Thank you in advance.

Post's attachments

Attachment icon MySql Error.png 6.65 kb, 125 downloads since 2020-07-09 

Re: MySql Online Error Msg

This is basically Mysql error 1146. There are multiple reasons and catalyst to this error. Some of the causes to error 1146 are stated below:
InnoDB crash and missing data files, Corruption in data tables, Improper directory accessing permissions, .frm file missing.
You could try a few things here:
•    First try to restart your MySQL server:
If the error has happened due to improper server shut down or MySQL service-related errors, we restart the service and check if it fixes the issue. If the service doesn’t start properly, we further investigate and fix the error.
•    Try to Repair the tables:
repair table Table_name;
•    Try restoring a backup of your database:
If none of those helps, then you would need to look into copying your ibdata file from a backup or enabling InnoDB crash recovery. Though before starting with those make sure to have a good backup of all of your databases.
•    Rely on Third-party Tools:
If still, the SQL error 1146 is taking place, you should go for a professional tool rather than relying on the DIYs. You can use MySQL Data Recovery tools like Stellar Repair for Mysql. It is the best tool to recover the corrupt tables and to fix MySQL code 1146 ‘table doesn’t exist’.

I’ve tried to give you some quick remedies and DIYs to resolve this error. Try your best and keeping the backup of data is the best precaution you can take.

Re: MySql Online Error Msg

There is nothing wrong in the table name being appended to the database name
Check whether the table schedule exists or attached your project.

@thezimguy

Re: MySql Online Error Msg

I resolved this issue. I emptied the tables and it worked fine. There was something in the import which must have caused the error. It was only test data that was imported and I didn't have the time to try to figure out why MVD didn't like the imported data. Everything is good now and the production version is working fine.