Configure Shark and other database interactions (Beta2)

xiaoxiao2021-03-06  18

Shark1.0 interacts with your own small database; if you want to interact it with other databases, you need to modify some relevant profiles, taking the MySQL database as an example:

a. Modify Shark.conf

Replace Sharkdb in Shark..conf into Shark

Find this hypersonicsql (I am 106 lines); comment below it;

Find this mysql, remove the two lines below it.

The following two modifications are as follows:

DatabaseManager.db.shark.connection.user = "root";

DatabaseManager.db.shark.connection.password = "";

b. Modify RECREATEDB.BAT

Locate recreatedb.bat in your Shark installation directory to open and edit it

Find this HypersonicsQL Database this

Comment it out below

Find this Mysql Database this

Remove it from the comment below.

c. Copy your JDBC database to the lib directory of the Shark installation directory

d. Built a database named Shark in your mysql database

Run recreatedb.bat

转载请注明原文地址:https://www.9cbs.com/read-41078.html

New Post(0)