Tagged

miscellaneous

A collection of 9 posts

miscellaneous

2021-05 Website Intrusion Event and Tencent Cloud Customer Service SolutionSituation 1: mysql database was attacked and deleted_[SOLVED] The server was attacked and all the databases were deleted

In this case, first check whether there is a backup, whether the server has a snapshot, whether the database has a master-slave, and whether the binlog log is turned on; only one condition is met to stop the loss in time In the future, I will follow the party's instructions

miscellaneous

Several ways to read files from jar package

Write in frontThis article will be used in this article . 1: Read the file from itself1.1: Define the file to be read1.2: Read the [email protected] public class HelloWorldMainApplication { public static void main(String[] args) throws URISyntaxException, IOException { // fileName是在当前类路径中的一个文件 InputStream in = HelloWorldMainApplication.class.getResourceAsStream("../../myfile.txt"); if (null