Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can i connect to phpmyadmin using java

 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to find out if it is possible to connect to phpMyAdmin using a java program..
I am new to JDBC and have no idea how to do that ... Can somebody guide me...
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "connect"? phpMyAdmin is a web application - where does JDBC fit in?
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I felt my question is stupid .... but still i want to continue till i understand..
I need to access data from a data base... that is actually maintained using phpmyadmin...
I am clear or
So how do i access using java
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
phpmyadmin is just a DB client; it is not needed to access the DB. If you want to write Java code to access the DB then JDBC is the way to go. If you're unfamiliar with JDBC, there's a tutorial on java.sun.com.
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok so phpmyadmin is a client which maintains a DB, so how do i access that DB .I am not trying to ask the syntax or things like that..
I want to know where the database is stored or what is the name of the database to which i need to connect so as to access the database..
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have access to the phpmyadmin client, then you should be able to find the information somewhere inside of its settings. If not, ask the DB admin.
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the access to that phpmyadmin... i have the username and password..
But that DB admin is not available....
And i not familiar to phpmyadmin(settings) so i am not able to find the point of connect of the DB... ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic