What Happens If You No CREATE Privilege In A Database

What Happens If You No CREATE Privilege In A Database


  • 22 Jan, 2012

    In order to create tables in a database, your user account must have the CREATE privilege for that database. Otherwise you will get an error as shown in the following tutorial exercise:>cd mysql in>mysql -u guest -ppubmysql> use ggl;Database changedmysql> CREATE TABLE test (id integer);ERROR 1142 (42000): CREATE command denied to user 'guest'@'localhost' for table 'test'If you get this error, you need to see the DBA to obtain the CREATE privilege.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.