Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api2_query listdbs filter does not work #15

Open
rares-lupascu opened this issue Jun 3, 2014 · 0 comments
Open

api2_query listdbs filter does not work #15

rares-lupascu opened this issue Jun 3, 2014 · 0 comments

Comments

@rares-lupascu
Copy link

this is the code i am using to find if there is a db called "testing" for the "x" account .. the pb is that everytime it lists all dbs for this account ... am i doing something wrong?

$xmlapi = new xmlapi($ip);
$xmlapi->hash_auth("root",$root_hash);
$xmlapi->set_output('array');
$xmlapi->set_debug(1);

echo '

';
$arrCheck = $xmlapi->api2_query("x", "MysqlFE", "listdbs", array("db"=>"testing"));
print_r($arrCheck);
die();

thanks,
Rares

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant