How to check which database associated with which application in MYSQL

Hi team,

I want to know How to check which  database associated with which application in MYSQL.

1)Is there any command to check the same

Thanks
Vinayak
vinayaksshAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
No - MySQL has no way of knowing what applications are associated with for the simple reason that the set is potentially infinite.

Given that all that is required is a server IP / name + user name / password to connect to the database any number of applications can be configured to connect to the DB.

Best you can do is implement MySQL logging and see what IP's are connecting to the database and then follow up from there.

If you are looking on a single server - you can do a find in files for the server name / IP to see what applications have configuration files that point to the database.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vinayaksshAuthor Commented:
Thanks for the solution
Julian HansenCommented:
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.