Author Topic: Create database and re-use user and password  (Read 3628 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Create database and re-use user and password
« on: March 10, 2021, 12:23:47 AM »
Hi,

When I'm creating databases in CWP WEB I can create a BBDD and "add a new user", however, I can use the same details (user and password) then, the user from that moment have permissions over that BBDD.

I don't have that option when I want to use the API because the userdb is not available at databasemysql -> add and usermysql -> add said "the user already exists". I understant the second reply, but, as user (IP:2083), they can create databases and add existing users (i found the value as "userexisting" in the curl request) and set the database user.

Could we have the same option with the API?

This is blocking my developmet because I'm creating databases but I can not use it, only if I use root user to provide permissions, but I don't want to use that option.

If you need addtional information, just let me know.

Regards
« Last Edit: March 10, 2021, 12:26:19 AM by Juancer1123 »

Offline
*
Re: Create database and re-use user and password
« Reply #1 on: March 15, 2021, 08:16:37 PM »
Anyone?