This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CWP API / Re: Adding users to a database
« on: March 15, 2021, 08:17:19 PM »Hello
why do you say this doesn't work? You can place here the error that it shows you or the script you are using!
Script:
https://ibb.co/YdVXKPP
Result in browser:
https://ibb.co/2MCM1Dz
Result in CWP:
https://ibb.co/nqpjjWy
And the user is not created in the user list.
2
CWP API / Re: Create database and re-use user and password
« on: March 15, 2021, 08:16:37 PM »
Anyone?
3
CWP API / Re: Adding users to a database
« on: March 15, 2021, 02:48:32 PM »
Script:
https://ibb.co/YdVXKPP
Result in browser:
https://ibb.co/2MCM1Dz
Result in CWP:
https://ibb.co/nqpjjWy
And the user is not created in the user list.
https://ibb.co/YdVXKPP
Result in browser:
https://ibb.co/2MCM1Dz
Result in CWP:
https://ibb.co/nqpjjWy
And the user is not created in the user list.
4
CWP API / Re: Adding users to a database
« on: March 12, 2021, 11:32:35 AM »
Hi @studio4host, no, that's not the easiest way to do it, because We have an API which should do this process from the external development. I need to create about 10 databases per day from the API and after that, you said that I need to go trhought phpmyadmin to assing those database to a new user, that's not the easier way.
In this case, the documentation of the API is telling me that I can create an User and assign it to a database from the API and is not working.
If you tell me where is located the code, I can modify the sentence and after provide you the possible solution, but i need to solve this problem as soon as possible please.
In this case, the documentation of the API is telling me that I can create an User and assign it to a database from the API and is not working.
If you tell me where is located the code, I can modify the sentence and after provide you the possible solution, but i need to solve this problem as soon as possible please.
5
CWP API / Adding users to a database
« on: March 10, 2021, 08:08:13 AM »
In the same line of my previuos ticket, I need to associate an user to a database. I'm trying the corresponding way usermysql->add. The user is created but is not asociated to the database, also when that details is sent.
I can login in phpmyadmin but no database is able to use.
Thanks
I can login in phpmyadmin but no database is able to use.
Thanks
6
CWP API / 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
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
Pages: [1]