Reputation: 11
Given an existing relational database ( MySQL) , how to convert it into a graph database in orientDB using java/ JavaScript ?
Pardon me if the question is not clear, I'm new to the community. :)
Upvotes: 1
Views: 169
Reputation: 2632
If you want to import a DB from MYSQL to OrientDB you can use Teleporter, is the new features of the latest version (2.2.0).
To use it follow this steps:
orientdb-teleporter-1.0.0.jar
into you /plugins
folder;oteleporter.bat
into you /bin
folder;From the terminal, go to your /bin
folder and run this command:
oteleporter.bat -jdriver mysql -jurl jdbc:mysql://localhost:3306/graphdb
-juser root -jpasswd MyPassword -ourl plocal:C:/path/to/graphdb -s naive -nr java -v 2
Run the server.bat
;
Hope it helps,
Regards
Upvotes: 1