File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Can i connect to phpmyadmin using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can i connect to phpmyadmin using java" Watch "Can i connect to phpmyadmin using java" New topic
Author

Can i connect to phpmyadmin using java

James Tharakan
Ranch Hand

Joined: Aug 29, 2008
Posts: 580

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...


SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
What do you mean by "connect"? phpMyAdmin is a web application - where does JDBC fit in?


Ping & DNS - updated with new look and Ping home screen widget
James Tharakan
Ranch Hand

Joined: Aug 29, 2008
Posts: 580

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
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
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

Joined: Aug 29, 2008
Posts: 580

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
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
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

Joined: Aug 29, 2008
Posts: 580

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... ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i connect to phpmyadmin using java
 
Similar Threads
DWR issues in HP webinspect
How to access a database over a network
code or server problem ?
connecting JSP(resin) to MYSQL with out root
JSP Admin for MySQL DB?