Permission denied when running sql script through MySQLWorkbench

Discussion in 'Databases' started by vcassone, Dec 10, 2019.

  1. Hello,

    I'm trying to run a SQL script that sets up my database through MySQLWorkbench but I keep getting an error saying "Error executing SQL script. ERROR 1045 (28000): Access denied for user."

    I successfully connected to the MySQL database created through the Control Panel. But I'm not sure why I wouldn't have the proper permissions to create new tables. It doesn't look like I can get in as a root user and I'm not seeing anywhere to set permission in the Control Panel.

    Help would be much appreciated.
     
  2. Elshadriel

    Elshadriel Winhost Staff

    You should have permissions to create tables. Is your script trying to do something else, like create new databases or users?
     

Share This Page