PDA

View Full Version : Getting 2 mysql databases from other user



Guust
10-09-2003, 11:10 AM
A reseller gets 2 mysql databases on an account that doesn't belong to that account but to another account.

Account 1.: nieuwsvan
here he created 2 mysql databases nieuwsvan_1 and nieuwsvan_2

Account 2.: nieuws
(same owner, same e-mailadres)
the databases nieuwsvan_1 and nieuwsvan_2 are also on this account.

What happenend here?

Guust Hilte

DirectAdmin Support
10-09-2003, 11:38 AM
Hello,

That sounds like a bug. When listing the databases for a user, it uses:

mysql_list_dbs(connection, "username_%");

So I'll have to look into if the underscore character needs escaping ( \_% ).

John

Guust
10-09-2003, 11:43 AM
We have full support version of DA (with montly payments) so what do you need to know from our server?

DirectAdmin Support
10-09-2003, 11:51 AM
Hello,

It's a DirectAdmin bug, and is already fixed in the code, but won't be available until the next release.

http://www.directadmin.com/features.php?id=180

John