SWT and mysql
hi ..we have a new project in my school and it is my first time to use mysql to java, just want to ask if im going to create a database where will i put it? i mean same folder where my SWT program is or where?
i need ur answer asap.. :confused:
use jdbc, odbc etc to connect to the database in some machine(may be local machine)
download and install mysql to program file or any location you like
create connection in java
refer to MySQL :: MySQL 5.1 Reference Manual :: 21.4.4 Connector/J (JDBC) Reference
Basically you have to use a connection to the database, and that connection links with the appropriate database and tables. Databases can placed in any locations, locally or remotely.
Ya, that's better. Give a try first and get back to here if you stuck on anything.