954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

java database

how to include database files into my source code package.

rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 4
Solved Threads: 11
 
how to include database files into my source code package.


what do you mean by database files? the actual database or the package needed to use the DB? Check here: http://www.vogella.de/articles/MySQLJava/article.html and here: http://zetcode.com/databases/mysqljavatutorial/

DavidKroukamp
Practically a Master Poster
Team Colleague
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169
 

If you looking to create backup sql file then use mysqldump

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

and if you're looking for a DB written in Java, google Derby DB

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

where to type mysqldump command on command prompt or MySQL Command Line window.

rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 4
Solved Threads: 11
 
where to type mysqldump command on command prompt or MySQL Command Line window.


are you talking of this: http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html

DavidKroukamp
Practically a Master Poster
Team Colleague
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169
 

yes.

Actually i know which command i have to execute but don't know where to execute.

rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 4
Solved Threads: 11
 
yes.


Well im glad you got it now, but please next time try Googling it by yourself first and then if still you cant find the solution by all means post a question, but i literally googled your posts question "mysqldump command on command prompt or MySQL Command Line window" and that was the first link.

[EDIT] From the link i'd determine you type it into the MySql console as a command?

DavidKroukamp
Practically a Master Poster
Team Colleague
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169
 

In command line, it is utility provided along side of MySQL. If you have correct installation of MySQL you should be able to execute it from any directory you are, else you would need to provide full path to mysqldump

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You