diff --git a/src/Catalog.php b/src/Catalog.php index dba0288..ac08dfd 100644 --- a/src/Catalog.php +++ b/src/Catalog.php @@ -263,6 +263,7 @@ public function createAdminUserForCatalog( $this->connection->prepare( "CREATE USER ?@? IDENTIFIED BY ?;" )->execute([$userName, $authHost, $password]); + $this->connection->prepare( "GRANT ALL PRIVILEGES ON `%`.* TO ?@? IDENTIFIED BY ? WITH GRANT OPTION;" )->execute([$userName, $authHost, $password]);