<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
1) Being able to do a grant with a prefix like<br>
<br>
GRANT all on 'openstack_ci%'.* to openstack_citest<br>
<br>
Then using that prefix in the random db generation. That would at least<br>
limit scope. That seems the easiest to do with the existing infrastructure.<br></blockquote><div><br></div><div>To use this syntax correctly in MySQL, note they have to be backquotes (`).    And your missing the @host scope.</div><div><br></div><div><br></div><div> GRANT ALL ON `openstack_ci%`.* TO openstack_citest@localhost<br></div></div></div></div>