I'm unable to create database from laravel code
DB::statement("CREATE DATABASE {$database_name}");
i'm getting permission issue
SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'system_user'@'127.0.0.1' to database 'sub_system_database' (Connection: mysql, SQL: CREATE DATABASE sub_system_database).
What's the required permission for creating & deleting database from laravel code and how to assign permission to that user?