Fanruan: local files connect to the database and deploy to the Tomcat server

1. Preliminary preparation

1. This article is based on Navicat manager and uses MySQL database for management

Select this computer, right-click and select Manage, and manually start the MairaDB database (the same applies to MySQL)

Under the computer management (local) directory -> services and applications -> services, find MARIADB, select right click to start

When the location in the figure appears to be starting

2. Open the Navicat manager, create a new connection and double-click the connection icon, the icon is lit, indicating that the connection is successful

2. Deployment steps

1. Double-click the FineReport template designer to start Fanruan and wait

2. Prepare to connect to the local database, select Define Data Connection under the server navigation bar

Click "+", select JDBC, fill in the corresponding data, click Test Connection, click OK after the test is successful

3. Click the "+" in the data connection panel, and click Database Query

Complete reports based on imported data

4. Run the startup.bat file

Start Tomcat, wait a moment [when the time appears on the last line, it means that it has been started]

5. Enter the URL http://localhost:8080/webroot/decision

http://localhost:8080/webroot/decision

Enter account and password

Click the management system, enter the management directory, click Add Template

Select the desired function and click OK

At this point, it can be successfully deployed on the local Tomcat server

Guess you like

Origin blog.csdn.net/m0_56905968/article/details/129522164