how to and from where find to connection string automatically form the environmental variable through java code and register in the database engine.
My aim is automatically search that how many databases are install on the system[sql server,mysql etc]. and create the connection according to the choice of user.