GRANT ALL PRIVILEGES ON `db_name`.`table_name` TO 'user_name'@'localhost';
      
      
      Sql language logo

      grant privileges

      SQL public snippets

      This code grants privileges to the user named ‘user_name’ on the ‘db_name’ and ‘table_name’ tables to the user localhost.

      Shortcut: s_priv_add

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.