Home  >  Q&A  >  body text

How to run SQL queries in Hackerrank afterwards? What does it mean?

Error 1044 (4200) on line 5: Access to database "company" for user "@" localhost is denied

P粉422227023P粉422227023213 days ago324

reply all(1)I'll reply

  • P粉345302753

    P粉3453027532024-03-20 12:27:07

    I have encountered similar problems. You need to log in as a user with permissions. Sometimes you can also log in as an anonymous user. Therefore, you need to check who you are logged in as and what permissions you have. It would help even more if you could provide your code.

    reply
    0
  • Cancelreply