Can anyone tell me how to convert a H2 database to MySQL? My .bat file has this line: Code: java -cp h2*.jar org.h2.tools.Script -url jdbc:h2:D:\MineCraft\plugins\iConomy\minecraft -user sa -password sa
If you in some way can get all the data from your H2 database, you could make a query for MySQL with the variables in there. I see no easier way.
Isnt there a converter or something? At the iConomy wiki they say you can convert it but I can't get it working.. http://ico.nexua.org/Main/FAQ#toc28 What am I doing wrong? Code: java -cp h2*.jar org.h2.tools.Script -url jdbc:h2:D:\MineCraft\plugins\iConomy\minecraft -user sa -password sa makes an empty SQL file. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Like I said: Code: java -cp h2*.jar org.h2.tools.Script -url jdbc:h2:D:\MineCraft\plugins\iConomy\minecraft -user sa -password sa gives an empty SQL file. Im now trying RazorSQL. What is the JDBC URL? I finally connected to the H2 database but everything is empty? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
bump Me too pls someone answer @EDIT ok solved in lib directory: Code: java -cp h2*.jar org.h2.tools.Script -url jdbc:h2:path/to/minecraft -user sa -password sa ps. your server must be turned off to do this
When I use the batch file in this post the backup.sql file has this inside: CREATE USER IF NOT EXISTS SA SALT '79af65f441b7e4a6' HASH 'c49cbcab43ba71b9847c7c2ab9d6f758e2a6284bcc0651728002d8da2c5cb0e6' ADMIN; It can't be imported in mysql. Why doesn't it convert the database?
how can you do? I try this it work not. Code: java -cp h2-1.3.167.jar org.h2.tools.Script -url "jdbc:h2:D:\MC server\bajs server.se\server 13\plugins\Jobs\Ny mapp" -user "sa"