Menu

#721 Add existing user to a database

4.7.4
closed-works-for-me
nobody
5
2019-11-11
2019-11-08
SelfMan
No

I would welcome to be able to add a existng user to a database. Not only create a new one.
adminer.php?username=root&db=mytestdb&privileges=
(I know I can do it via SQl, but that would defeat the purpose of Adminer.)

Discussion

  • SelfMan

    SelfMan - 2019-11-08

    There seem to be a problem while the user has already access to another database.

     
  • Jakub Vrána

    Jakub Vrána - 2019-11-11
    • status: open --> closed-works-for-me
     
  • Jakub Vrána

    Jakub Vrána - 2019-11-11

    There are two ways how to do it.

    1. Enter the name of the user you want to edit in the form at ?username=root&db=mytestdb&privileges=.
    2. Add the database to the user at ?username=root&privileges=.
     

    Last edit: Jakub Vrána 2019-11-11

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.