Quelle create_and_drop_current.result
Sprache: Lisp
create user foo@localhost;
grant create user on *.* to foo@localhost;
change_user foo,,;
create user current_user; ERROR HY000: Operation CREATE USER failed for CURRENT_USER
create user current_role; ERROR HY000: Operation CREATE USER failed for CURRENT_ROLE
create role current_user; ERROR42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user' at line 1
create role current_role; ERROR HY000: Operation CREATE ROLE failed for CURRENT_ROLE
drop user current_user;
Warnings:
Note 4227 Dropped users 'foo'@'localhost' have active connections. Use KILL CONNECTION if they should not be used anymore.
drop user current_role; ERROR42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_role' at line 1
drop role current_user; ERROR42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user' at line 1
drop role current_role; ERROR HY000: Operation DROP ROLE failed for CURRENT_ROLE
show warnings;
Level Code Message Error1959 Invalid role specification `NONE` Error1396 Operation DROP ROLE failed for CURRENT_ROLE
change_user root,,;
create role r1;
grant r1 to current_user; set role r1;
select current_role();
current_role()
r1
create user current_role; ERROR HY000: Operation CREATE USER failed for CURRENT_ROLE
create role current_role; ERROR HY000: Operation CREATE ROLE failed for CURRENT_ROLE
drop user current_role; ERROR42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_role' at line 1
drop role current_role;
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.