Hello all,
After viewing 3 day`s in a row, al the forum post on this topic and
also googled to the end of the internet hahaha
I didn`t find the sollution, and hope somebody here can help me.
I got a system that uses 1 db username and password for a lot of databases,
now when i want to create a new database for this user, the api says
Error creating the database, user already exist.
the code i use is
//////
$sock->query('/CMD_API_DATABASES',
array(
'action' => 'create',
'domain' => 'mydomain.com',
'name' => $_POST['dbname'],
'user' => 'MyUsername',
'passwd' => 'mypassword',
'passwd2' => 'mypassword,
'create' => 'Create'
));
///////
now my question...
Is there a way to add a database to the existing user?
Best Regards
Stefan
After viewing 3 day`s in a row, al the forum post on this topic and
also googled to the end of the internet hahaha
I didn`t find the sollution, and hope somebody here can help me.
I got a system that uses 1 db username and password for a lot of databases,
now when i want to create a new database for this user, the api says
Error creating the database, user already exist.
the code i use is
//////
$sock->query('/CMD_API_DATABASES',
array(
'action' => 'create',
'domain' => 'mydomain.com',
'name' => $_POST['dbname'],
'user' => 'MyUsername',
'passwd' => 'mypassword',
'passwd2' => 'mypassword,
'create' => 'Create'
));
///////
now my question...
Is there a way to add a database to the existing user?
Best Regards
Stefan