wood burning stoves 2.0*
The moose likes JDBC and the fly likes mysql_query() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "mysql_query()" Watch "mysql_query()" New topic


Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66

Can I call mysql_query() construct from a java program or something like it? (I want to use a LOAD INFILE ... from a text file to database and run it from java).


Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703

You mean bulk load a script? Sure, Statement.executeQuery() can support multiple calls in some databases. Granted, you're not really doing much JDBC in this manner.

My Blog: Down Home Country Coding with Scott Selikoff
It is sorta covered in the JavaRanch Style Guide.
subject: mysql_query()
Similar Threads
how to insert data to a mysql table using ajax (client side)
How to save value selected from dropdown list using PHP
Visibility help?
How to post data from android app to php page
problem in updating data