Getting Db user Id and Passwd in java
May I know How to get Database user Id and pwd details in java.
Is it possible by initiating a connection and get those details . If yes , pls let me know
- Krishna kanth
as far as i know it's not possible to connect to a database without having a valid database user & password. you have to have them, before you connect to a db.
same as loging in through telnet. you can't connect to a telnet server without having username / password.
but if you have a user/pw that have read rights on the mysql-meta table users, you can select all usernames from there.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center