当前位置:网站首页>Dameng database client shielding SQL keyword

Dameng database client shielding SQL keyword

2022-06-22 03:47:00 Hu Bayi

Problem scenario :

There is such ⼀ Databases ,A⽤ Users need to mask keywords interval, But it cannot be shielded context,B⽤ Users need to mask keywords context, But it cannot be shielded interval. If in dm.ini⾥ Set up EXCLUSIVE__RESERVED_WORDS, In this way, it is shielded at the same time interval and context keyword , Lead to A⽤ Household and B⽤ Every household will have problems .

This situation is forbidden ⽌ stay dm.ini⾥ Screen keywords directly , Need to be in dm_svc.conf⾥ To configure .
linux System :dm_svc.conf The file in etc Under the directory of , add to KEYWORDS Configuration item :

#  Global configuration area 
TIME_ZONE=(480)
LANGUAGE=(cn)
# Database address 
DB1=(192.168.43.11:5237)
 
[DB1]
#  Service configuration area 
KEYWORDS=PERCENT,ORDER

windows System :dm_svc.conf The file in C:\Windows\System32 Under the table of contents , Refer to the above configuration for modification .

原网站

版权声明
本文为[Hu Bayi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220327378971.html