mysql cli: how to list all databases I have permisions to create/read/update/delete? -


Which command do I use on a mysql command line to see all databases on some database servers? Especially I am looking for DB that I have full CRUD permission.

mysql-e "Show database"


UPDATE :

Depending on your editing, here is a query that you can run against mysql database in your server:

 < Code> mysql> Select DB from DB where user = 'AJ' and (select_priv = 'Y' and insert_priv = 'y' and update_priv = 'y' and 'delete_priv =' y '); + --------- + | DB + --------- + | Hupdibi | | Loksudibi | + --------- + 2 lines set (0.00 seconds)  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -