Skip to main content

Error in database

Comments

6 comments

  • andrew.n
    Looks like you are either using the wrong database password or when you created the database you didn't set the privileges for the user you are using.
    0
  • cPanelLauren
    I would be inclined to agree with @andrew.n here how did you create the database and did you create the connection using the correct user/pass through your application?
    0
  • zaryab_helperst
    I imported some sql tables. But i do not know how to allot privileges to them?
    0
  • andrew.n
    Login to cPanel, choose MySQL databases, and from that page you can assign privileges to the user.
    0
  • zaryab_helperst
    No there is not option for imported table. As in cpanel, MYSQL database privileges only allotted to created user.
    0
  • andrew.n
    There is no difference just re-apply the settings and it should work.
    0

Please sign in to leave a comment.