Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ricky Johnson   on Nov 24 In Java Category.

  
Question Answered By: Vonda Ramirez   on Nov 24

your question was a bit ambiguous.
if you want to create database  using your java  application, execute  the following query: "create database <dbname>"
if you want to execute some java code  when creating database, its a bit harder.
MySQL databases are created as folders in /var/lib/mysql or where ever you database path is.
watch for creation of a new directory in that folder and execute your java code when you see new directory created.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how Mysql database function java code execute ? Or get search suggestion and latest updates.


Tagged: