I have a question about my Database Administrators Stack Exchange post: MySQL database innodb tables
The Help Center has excellent resources for how the Stack Exchange model works.
Looking at your question - what do I know?
As a non-MySQL person, that question seems bereft of details. What command have you issued? Is the above the exact error message? What happened to get you into this state? etc
"Also how I can optimize mysql database?" That is unanswerable. Optimize for what - read, write, stability, etc? What are your constraints around optimization - do you have a budget? Have you taken a benchmark to establish what your current performance is and do you know what the target should be. Etc, etc etc. Much, much too broad to be answerable and not a good fit for the site.
I've only just seen the question and my immediate problem with it is that it is asking about two very distinct problems:
How to repair a table,
How to optimise a database.
The two issues may be related in your mind but they are still very different and should be asked about separately.
The second one, too, is extremely unspecific.