Seata1.0 installation and startup, adapted to mysql8 and nacos

Official website download: After downloading seata
, unzip it and open the file.conf file under the conf file. Warm reminder, make a backup before modifying these files.
1. Modify the group name of the server module. The name is arbitrary:
Insert image description here
2. First create the seata database in the database. , there are three tables in it. The conf folder of seata1.0 does not have the db_store.sql file by default. You can go to the official website to find it, or download version 0.9, which is in the conf. Then modify the database driver information in the file.conf file. My database is mysql8.0.18. Seata does not support mysql8 or above by default
Insert image description here
because it does not support 8 by default, so replace the mysql driver jar package. My database is 8.0.18, so replace it. For this purpose, in the lib folder
Insert image description here
3. Modify the registry.conf in the conf folder and modify it according to your actual situation. The default port number of nacos is 8848.
Insert image description here
4. Start seata-server.bat in the bin folder. Make sure to start it first. After nacos is started, start seata again.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_43810415/article/details/105252581