• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How to connect to database without password using connection pooling

 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody, I am chaitanya, I am facing a problem and don't know what to do. Let me explain my requirement.

I am working on an application, where I have to create a user interface for MySQL database, it must function like Oracle 10g GUI.

But before starting itself I have struck with this problem. I am using connection pooling, where I have to enter user id and password. The id is 'root' and is fixed at installation, but the password is a variable thing.

How to solve this problem. Please can anybody help me solve this issue. Can I do this, or this is not possible.

Thank you in advance, have a nice day.
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There was a problem with my net connection, I thought the question was not posted and posted the same topic second time.

Sorry, forgive me, I sincerely apologize for this mistake.
 
Marshal
Posts: 79716
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apologies accepted

I have taken the liberty (Scott, Jan, Jeanne, I hope you don't mind) of moving your other thread to our "deleted" forum.
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot Ritchie. I was worried a lot.
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi moderators, my problem has not been resolved yet, this thread is marked as 'moderator says its resolved'. Please help me.
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

anusha chaitanya wrote:Hi moderators, my problem has not been resolved yet, this thread is marked as 'moderator says its resolved'. Please help me.

I have removed the resolved marker.
Regards, Jan
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot Jan, and can you please help me with my problem?
 
Jan Cumps
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

anusha chaitanya wrote:Thanks a lot Jan, and can you please help me with my problem?

I don't know how to solve this. Let's hope that another rancher can help you.
Regards, Jan
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its ok Jan, thanks again, have a nice day
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know, you must provide a username and optionally a password to establish a connection to a MySQL database. I always create a specific user account and password for each database that I create in MySQL. That way I always have credentials available for use when defining the connection pool.

Exactly how are you using this connection pool of which you speak? Is your app a web app and the connection pool is defined in the app server? If so, which app server?
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter, I am doing a web application, I am using Apache Tomcat web server, not application server and my Connection pool is present at application level, not at server level, I mean it is in my project's META-INF folder.

Please help me, can I do this, is it possible? Thanks in advance.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, this has now become a Tomcat configuration question. I am moving this thread to a more appropriate forum.
 
chaitanya karthikk
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Peter Johnson wrote:OK, this has now become a Tomcat configuration question. I am moving this thread to a more appropriate forum.



Hi Peter, I think this is not related to Tomcat, it is related to database connectivity through pooling. Please once check the question.

Thanks in advance.
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic