Comments (6)
https://github.com/apache/incubator-seata/blob/2.x/script/server/db/mysql.sql
根据这里来建表
from incubator-seata.
https://github.com/apache/incubator-seata/blob/2.x/script/server/db/mysql.sql 根据这里来建表
我将mysql.sql导入了我的seata数据中一共是四张表
但是nacos中的shuj数据库该如何配置?
是要配置四张表:
store.db.globalTable=global_table
store.db.branchTable=branch_table
store.db.distributedLockTable=distributed_lock
store.db.lockTable=lock_table
还是按照官方文档配置三张表就行:
store.db.globalTable=global_table
store.db.branchTable=branch_table
store.db.lockTable=lock_table
from incubator-seata.
https://seata.apache.org/zh-cn/docs/ops/deploy-by-docker-compose/
我使用的是docker-compose的部署方式
from incubator-seata.
因为如果我按照官方文档只配置这三个参数:
store.db.globalTable=global_table
store.db.branchTable=branch_table
store.db.lockTable=lock_table
在启动时日志会报错,提示要配置distributed表
需要添加一行参数store.db.distributedLockTable=distributed_lock才能避免该报错
那么我需要加上这行参数吗?这个加不加有没有什么影响 ?是否可以忽略这个报错?@funky-eyes
from incubator-seata.
这个错不影响运行,如果你不使用分布式锁来做seata-server的任务协调那就不需要这个配置,不过建议还是配上,并且创建对应的表
from incubator-seata.
这个错不影响运行,如果你不使用分布式锁来做seata-server的任务协调那就不需要这个配置,不过建议还是配上,并且创建对应的表
好的谢谢
from incubator-seata.
Related Issues (20)
- TCC mode two stage cannot be executed
- Source code depends on the git environment
- The module dependent on 'compatible' has not been correctly referenced.
- 源码少文件 HOT 1
- OceanBase数据库的mysql模式下创建的表,多主键,seata回滚失败,seata不支持多主键的表回滚吗? HOT 3
- 使用 2.0.0 版本并且使用root用户操作会无法启动的问题。 HOT 1
- v2.0.0版本,使用redis作为store时,无法连接redis HOT 1
- Why use @Async in ClusterWatcherManager
- k8s部署seata HOT 9
- 请问 2.1.0 什么时候发啊 等的花都要谢了 端午节前还有希望么 HOT 2
- seata 2.x是否支持数据库密码加密功能? HOT 2
- OceanBase数据库mysql模式,无法回滚
- 对于Oracle数据库中含有Timestamp字段的数据表无法进行二段校验 HOT 3
- druid连接池配置参数放开test-on-borrow HOT 2
- 0101 can not connect to 10.233.65.126:8091 cause:can not register RM,err:can not connect to services-server. HOT 2
- saga exception: java.lang.NullPointerException: Cannot invoke "io.seata.saga.engine.StateMachineEngine.forward(String, java.util.Map)" HOT 1
- mybatis调用Oracle存储过程开启事务报错 HOT 3
- 同一个服务中 两个被@TwoPhaseBusinessAction修饰的方法,方法A调用方法B,方法B对应的commitMethod,rollbackMethod未生效 HOT 1
- 手动回滚之后还会去触发commitTransaction方法? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-seata.