Getting Db user Id and Passwd in java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Getting Db user Id and Passwd in java

  1. #1
    Join Date
    Jun 2006
    Posts
    4

    Getting Db user Id and Passwd in java

    Hi All,

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center