Enter password: ***************** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 8.0.40 MySQL Community Server - GPL
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or '\h'forhelp. Type '\c' to clear the current input statement.
mysql>
总之先进去
look一下官方文档的 “初始化数据库”
摘自官方文档:
5.1 新建数据库
1 2 3 4
#登录MySQL: mysql -u ${your_db_account} -p${your_db_password} 例如:mysql -u root -p123456 #新建数据库: CREATE DATABASE IF NOTEXISTS {your_db_name} DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
┌──(cure㉿LAPTOP-CMAM5D0J)-[~/webase-deploy/webase-node-mgr/log] └─$ tail -f WeBASE-Node-Manager.log 2025-09-26 19:28:50.570 [node-mgr-task-6] INFO CertMonitorTask() - end checkCertValidityForAlert useTime:276 2025-09-26 19:28:50.570 [node-mgr-task-3] WARN NodeStatusMonitorTask() - checkNodeStatusForAlert jump over: not found any group 2025-09-26 19:28:50.575 [node-mgr-task-4] INFO ChainService() - Run task:[DeployType:0, isChainRunning:false] 2025-09-26 19:28:50.575 [node-mgr-task-4] INFO GroupService() - start resetGroupList. startTime:1758886130575 2025-09-26 19:28:50.578 [node-mgr-task-4] INFO GroupService() - resetGroupList frontList empty, jump over 2025-09-26 19:29:00.000 [node-mgr-task-9] INFO DeleteInfoTask() - start deleteInfoStart. startTime:1758886140000 2025-09-26 19:29:00.006 [node-mgr-task-9] WARN DeleteInfoTask() - DeleteInfoTask jump over, not found any group 2025-09-26 19:29:00.009 [node-mgr-task-7] WARN StatisticsTransdailyTask() - updateTransdailyData jump over: no group information exists 2025-09-26 19:29:00.293 [node-mgr-task-1] WARN TransMonitorTask() - blockStat jump over, not found any group 2025-09-26 19:29:10.294 [node-mgr-task-8] WARN TransMonitorTask() - blockStat jump over, not found any group 2025-09-26 19:29:15.001 [node-mgr-task-10] INFO DeleteInfoTask() - start deleteInfoStart. startTime:1758886155001 2025-09-26 19:29:15.005 [nod
看样子是成功了
然后去启动一下WebaseWeb和WebaseFront啥的
题目要求我们检查它正常启动
正常启动的三个证据
状态
1 2 3 4 5 6
┌──(cure㉿LAPTOP-CMAM5D0J)-[~/webase-deploy/webase-node-mgr] └─$ bash status.sh =============================================================================================== Server com.webank.webase.node.mgr.Application Port 5001 is running PID(24663) ===============================================================================================