[openstack-dev] [oslo] documentation on using the oslo.db opportunistic test feature

Ronald Bradford me at ronaldbradford.com
Tue Feb 23 21:18:23 UTC 2016


>
>
>
> 1) Being able to do a grant with a prefix like
>
> GRANT all on 'openstack_ci%'.* to openstack_citest
>
> Then using that prefix in the random db generation. That would at least
> limit scope. That seems the easiest to do with the existing infrastructure.
>

To use this syntax correctly in MySQL, note they have to be backquotes (`).
   And your missing the @host scope.


 GRANT ALL ON `openstack_ci%`.* TO openstack_citest at localhost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160223/187a52d0/attachment.html>


More information about the OpenStack-dev mailing list