maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05316
Missing rights on 'CREATE ALGORITHM=UNDEFINED DEFINER...'
-
To:
maria-discuss@xxxxxxxxxxxxxxxxxxx
-
From:
Thomas Plant <thomas@plant.systems>
-
Date:
Thu, 13 Dec 2018 11:09:54 +0100
-
Arc-authentication-results:
i=1; ORIGINATING; auth=pass smtp.auth=thomas@plant.systems smtp.mailfrom=thomas@plant.systems
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=plant.systems; s=2018-10; t=1544695802; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references; bh=jY5M/hyKtmWYkrZuaEzmQvM3tf3/zejoWGzx2JaezyI=; b=jSE72T9Vh1gtDsPQnAfIHEyWD/OelpEjttvG5WMb+i9ltPvN3dNi4zCR4pXHv/JtCtyyAM rfI9xFaIblLGtE2siUWN7ltcvLBcvdrnKFzdUOeS9LGITKUkLZ0ZL7cmnJXF7mom63rn0R X1UQlR1Avf6WrQR4futkYnycOnIbsv/GJARdiYraMawgVBosbBIOd3nzHvvETlBPzUAK47 MXtsUVY47Q53hJYD8aG7UdSG6bqS0n7/lPQVo3jPjyAOcWyJ3s/zTL6w2uuxRziRh2p95G PcVIbP6UYpXmI7bFIWRKrLuFb7gHjfLX81SnIDHdqPq7Mayh7U1kE6AD0JLkEA==
-
Arc-seal:
i=1; s=2018-10; d=plant.systems; t=1544695802; a=rsa-sha256; cv=none; b=be0wHYgCmZqMfCB4cyT4U1lO/6HgqvbcCB+pSoOH8oqJNHQ78inil3yBcpAp00xbknHG84 tfMcpIXG50xGF9FznW2CN9jxuLIj5HP/0NHVYK4LmtqjAD/F+8ugX6ZN2BLpVv+oaWFbWD 8jIFZftWPRHj6HMm/pQkiMuaufZtYDlEZuirfIUBoCGgoHha5FqAKNcn4a5elEwymC2Evv Ef32bGC7ksiqQZ7IufV7hpjrQGUg7ZMDicUsEjkE2CC88vFGe4xBput1KLbSoCDRryS46V diimKr2u4R8JW2DkrHGxFyS6Clw26Ndr1x6YBSZZc2yYpCTLoDiHhCdgCC7ghA==
-
Authentication-results:
ORIGINATING; auth=pass smtp.auth=thomas@plant.systems smtp.mailfrom=thomas@plant.systems
-
User-agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
Hello all,
I have a request from a user who can not create a view in his database.
He has the following rights granted:
+----------------------------------------------------------------------------------------------------------------+
| Grants for user@% |
+----------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'user'@'%' IDENTIFIED BY PASSWORD '***************' |
| GRANT ALL PRIVILEGES ON `dbname`.* TO 'user'@'%' |
+----------------------------------------------------------------------------------------------------------------+
The view he tries to create looks like these:
CREATE ALGORITHM=UNDEFINED DEFINER=`xxxxxxxxxxx`@`xx.xxx.xxx.x/xxx.xxx.xxx.x` SQL SECURITY DEFINER
VIEW `jos_docman_file_counts` AS select `jos_docman_documents`.`storage_path` AS `storage_path`,count(0) AS `count`
from `jos_docman_documents` where (`jos_docman_documents`.`storage_type` = 'file')
group by `jos_docman_documents`.`storage_path`;
And gets as error:
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
What SUPER privilege is needed for this view?
The Database is MariaDB 10.1 on Centos 7.
Thanks for any hint about his.
Greetings,
Thomas
Follow ups