SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TABLE 446 WHERE `Non_unique` = 1' at line 1, query was: SHOW INDEXES FROM 434 WHERE 'Non_unique'=1 

due to above error I am unable to install any modules. Please help someone at the earliest how to resolve this?

  • is it in core or you custom module? Dec 28 '20 at 5:00
  • Its in core not in custom module @AbdulSamadAbbasi
    – Mohan
    Dec 28 '20 at 5:44

Just run composer update once and then try with the setup:upgrade command

  • No luck still the same error
    – Mohan
    Dec 28 '20 at 6:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.