MyCATApache / Mycat-Server

GNU General Public License v2.0
9.51k stars 3.85k forks source link

mycat连接postgresql问题 #1723

Open lx088 opened 6 years ago

lx088 commented 6 years ago

schema.xml里面配置的dbDriver="native",简单的读写分离,但是启动mycat后,日志里面报错 error response errno:1105,OR VERROR C42704 Munrecognized configuration parameter "autocommit" Fguc.c L5858 Rset_config_option from of sql :select 1 at con:PostgreSQLBackendConnection 请问这个是什么问题?

fireflyhoo commented 6 years ago

你确定下 你的PostgerSQL 的版本 ,然后看看 PostgreSQLBackendConnection 里面的状态 同步语句是否有问题, 有的话更改下即可.

fireflyhoo commented 6 years ago

https://github.com/MyCATApache/Mycat-Server/commit/dc7307eb6f7340c6057026740b2afbf4802ade8e#diff-3b2cc6f11426c89394d37c3b15918115 请参见以上提交