While creating a database from a .sql file it throws an error.
[bboyajit8135@cxln5 databasescript]$ mysql -h cxln2.c.thelab-240901.internal -u sqoopuser -pNHkkP876rp < ./AWBackup.sql
Warning: Using a password on the command line interface can be insecure.
ERROR 1044 (42000) at line 21: Access denied for user ‘sqoopuser’@’%’ to database ‘adventureworks’
Hi @Ajit_Singh
You will not have permission to create database. But you can create table under the database listed for sqoopuser