I am new to B4J and Mysql. Using sqllite is so simple but I cant get how to initialize and create the db on my c drive.
Assuming I have created a folder c:\jcashbook on my drive.
I want to create the db in that directory called date.db
I have this in my code #AdditionalJar: mysql-connector-java-5.1.36-bin.jar
I assume like sqllite this is here to create the db? But it is incorrect anyway.
sql.Initialize("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/jCashbook/data.db")
I also dont understand the port.
Perhaps someone could write a simple tutorial to do this The ones I have read are difficult to understand for a novice.
Assuming I have created a folder c:\jcashbook on my drive.
I want to create the db in that directory called date.db
I have this in my code #AdditionalJar: mysql-connector-java-5.1.36-bin.jar
I assume like sqllite this is here to create the db? But it is incorrect anyway.
sql.Initialize("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/jCashbook/data.db")
I also dont understand the port.
Perhaps someone could write a simple tutorial to do this The ones I have read are difficult to understand for a novice.