phpmyadmin - Create user fails on PMA 4.5.0 with MariaDB 10.0.17 -


when trying create new user in phpmyadmin 4.5.0 on mariadb database "1065 - query empty" error above printed query , "the selected user not found in privilege table." right on top of user creation wizard.

also when try edit query inline, highlighting complains unrecognized statement type "with".

the full query created phpmyadmin looks this:

create user 'asd'@'%' identified mysql_native_password '***';grant usage on *.* 'asd'@'%' require none max_queries_per_hour 0 max_connections_per_hour 0 max_updates_per_hour 0 max_user_connections 0; 

the syntax highlighting complains in "with mysql_native_password" , word "usage" in grant statement. don't know why phpmyadmin explicitly names authentication plugin/mechanism when it's using default , installed mysql native password.

when remove "with mysql_native_password" part query executes fine. (obviously entered password removed/replaced asterisks phpmyadmin in query again)

so authentication plugin stuff setting can change somewhere or bug in phpmyadmin mariadb backend?

thanks in advance.

i think there's bug in phpmyadmin... according mariadb docs right way create user mysql_native_password plugin create user mysqltest_up1 identified via mysql_native_password using '*e8d46ce25265e545d225a8a6f1baf642febee5cb';

i haven't found issue in phpmyadmin page, i've opened one: https://github.com/phpmyadmin/phpmyadmin/issues/11520

docs page: https://mariadb.com/kb/en/mariadb/development-pluggable-authentication/


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -