-1

SQLSTATE[28000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = smm_v1_1 and table_name = settings and table_type = 'BASE TABLE')

I have absolutely no idea how to fix it.

ADyson
  • 57,178
  • 14
  • 51
  • 63
RaPiiDz
  • 1
  • 1
  • Updated to SQLSTATE[28000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = smm_v1_1 and table_name = settings and table_type = 'BASE TABLE') – RaPiiDz Aug 28 '23 at 04:07
  • 1
    Apparently, the user 'forge@localhost' has not access to the information_schema db. – ewokx Aug 28 '23 at 04:13
  • how do i fix that? – RaPiiDz Aug 28 '23 at 04:15
  • Use the `GRANT` command to give them access. – Barmar Aug 28 '23 at 05:11
  • If you're using CPanel, make sure that you've grant the newly created user the privileges to the database. (Yes. The user don't automatically have access to the database in your account.) – Koala Yeung Aug 28 '23 at 05:42
  • I'm new to this, how do i grant privileges? – RaPiiDz Aug 28 '23 at 12:16
  • Does this answer your question? [Access denied for user 'root'@'localhost' (using password: YES) (Mysql::Error)](https://stackoverflow.com/questions/6081339/access-denied-for-user-rootlocalhost-using-password-yes-mysqlerror) – He3lixxx Aug 31 '23 at 18:28

0 Answers0