ผู้เขียน หัวข้อ: ####BUG Replication Manager ครับ####  (อ่าน 8380 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ pop_hosxp

  • Hero Member
  • *****
  • กระทู้: 3,128
  • Respect: +38
    • ดูรายละเอียด
    • Phanomphrai Hospital
####BUG Replication Manager ครับ####
« เมื่อ: กรกฎาคม 06, 2009, 14:35:31 PM »
0
เจอ error script แบบนี้ครับ อาจารย์ MN

06/07/2552 12:40:01 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
« แก้ไขครั้งสุดท้าย: กรกฎาคม 09, 2009, 12:32:38 PM โดย pop_hosxp »
pop434241@gmail.com
รพ.พนมไพร จ.ร้อยเอ็ด www.phanomphrai.net

ออฟไลน์ เข้ม

  • Hero Member
  • *****
  • กระทู้: 2,805
  • Respect: +4
    • ดูรายละเอียด
    • phichit hospital
Re: BUG Replication Manager ครับ
« ตอบกลับ #1 เมื่อ: กรกฎาคม 06, 2009, 15:55:21 PM »
0
ตอนนี้ รพ. เปิดใช้ ห้องผ่าตัด แล้ว
ที่ replicate ก็เป็นเหมือนกันครับ
Phichit Hospital
HOSxP 3.61.10.31 on FreeBSD 9.2
By BMS - Dec 26, 2007

ออฟไลน์ yord

  • Hero Member
  • *****
  • กระทู้: 1,952
  • PATTANI HOSPITAL
  • Respect: +2
    • ดูรายละเอียด
    • http://www.pattanihos.com
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #2 เมื่อ: กรกฎาคม 14, 2009, 15:15:36 PM »
0
ของผมเจอแบบนี้ครับ
13/07/2552 10:44:38 192.168.0.5/hos  #HY000Table './hos/ksklog' is marked as crashed and last (automatic?) repair failed CLI>HOME-EDA79A55E7 SQL>INSERT INTO ksklog (ksklog_id,logtime,loginname,tablename,modifytype,detail,old_delta,new_delta,log_id,computer_name) VALUES (3824012,'2009-07-13 10:33:44','nitaya','RX','EDIT','520713065227',NULL,NULL,NULL,'HOME-EDA79A55E7')
13/07/2552 10:44:38 192.168.0.5/hos  #HY000Table './hos/ksklog' is marked as crashed and last (automatic?) repair failed CLI>ห้องตรวจครรภ์26 SQL>INSERT INTO ksklog (ksklog_id,logtime,loginname,tablename,modifytype,detail,old_delta,new_delta,log_id,computer_name) VALUES (3824013,'2009-07-13 10:33:14','more','DOCTOR','EDIT','520713083316',NULL,NULL,NULL,'ห้องตรวจครรภ์26')
13/07/2552 10:45:21 192.168.0.5/hos  #HY000Table './hos/ksklog' is marked as crashed and last (automatic?) repair failed CLI>ยานอก04 SQL>INSERT INTO ksklog (ksklog_id,logtime,loginname,tablename,modifytype,detail,old_delta,new_delta,log_id,computer_name) VALUES (3824014,'2009-07-13 10:33:16','pharmacy','RX','EDIT','520713090050',NULL,NULL,NULL,'ยานอก04')


14/07/2552 08:30:50 192.168.0.5/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')' at line 1 CLI>ห้องบัตร13 SQL>update ovst set pt_subtype= where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')  ??? ??? ???
Mr.Yordying Kongkachan (yord02@gmail.com)
ADMIN PATTANI HOSPITAL  http://www.pattanihos.com
เริ่มใช้ HOSxP พฤศจิกายน 2549
(Master)IBM X3650 M3 QuardCord 3.06 1 CPU 20 GBs. of Ram (up to 68 GBs 29/06/56)
Linux 64bit MySQL 5.5.21 64bit (ด้วยความช่วยเหลือของ อ.บอยครับ)
(Slave1)HP ProLiant ML350 G6 Xeon E5530 2.04 20 GBs. Ram (up to 54 GBs 27/06/56)
Linux 64bit MySQL 5.1.30 64bit Database v.3.56.4.9 (29/06/56) client v.3.56.3.19

ออฟไลน์ เข้ม

  • Hero Member
  • *****
  • กระทู้: 2,805
  • Respect: +4
    • ดูรายละเอียด
    • phichit hospital
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #3 เมื่อ: กรกฎาคม 15, 2009, 00:43:18 AM »
0

14/07/2552 08:30:50 192.168.0.5/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')' at line 1 CLI>ห้องบัตร13 SQL>update ovst set pt_subtype= where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')

แบบนี้ของผมก็เจอครับ
เมื่อก่อนไม่เคยมีเลย หมายถึงตั้งแต่เป็น 3.52.3.25 ก็ไม่เคยมี แต่มาระยะหลัง ๆ มีให้เห็นทุกวันเลย
ไม่รู้ว่าจะไปดูพฤติกรรมการคีย์ข้อมูลเข้าของผู้ใช้อย่างไรดี  :( :(
Phichit Hospital
HOSxP 3.61.10.31 on FreeBSD 9.2
By BMS - Dec 26, 2007

ออฟไลน์ มนตรี บอยรักยุ้ยคนเดียว

  • Hero Member
  • *****
  • กระทู้: 5,369
  • Respect: +12
    • ดูรายละเอียด
    • โรงพยาบาลชุมชน ด่านมะขามเตี้ย
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #4 เมื่อ: กรกฎาคม 15, 2009, 07:21:13 AM »
0
เป็นความไม่สมบูรณ์ ของการ replication
ต้องระวัง ว่าข้อมูลบางส่วนไม่เข้าเครื่องสำรอง
เริ่ม11พย.2548OPD-Paperlessพร้อมHOSxPลดโลกร้อน
FF-Paperless(รพ.สค.)เริ่ม1ตค2555=100%
IPD-Lesspaper1ตค2560ระบบDmsByNeoNetwork
IPD-Paperless1พ.ค2562ระบบHOSxPXE4
ServerMTOL8.5+MDB-10.4.20,SlaveOL8.5+MDB-10.7.3
LOG=PostgreSQL11,INV=PostgreSQL11

ออฟไลน์ pop_hosxp

  • Hero Member
  • *****
  • กระทู้: 3,128
  • Respect: +38
    • ดูรายละเอียด
    • Phanomphrai Hospital
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #5 เมื่อ: กรกฎาคม 15, 2009, 08:35:48 AM »
0
มีคนช่วยดันแล้วครับ อาจารย์ MN รบกวนด้วยครับ
pop434241@gmail.com
รพ.พนมไพร จ.ร้อยเอ็ด www.phanomphrai.net

ออฟไลน์ snhos

  • Sr. Member
  • ****
  • กระทู้: 373
  • ฉันยังรู้สึกว่าตัวเองยังเด็กในการทำงานและความรู้
  • Respect: +3
    • ดูรายละเอียด
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #6 เมื่อ: กรกฎาคม 15, 2009, 09:14:58 AM »
0
ของผมก็มีคล้าย ๆ กัน  แต่ตรงที่ เรื่องของการลง  หรือเปลี่ยนแปลงปรับปรุงค่าใช้จ่าย ในกรณีคนไข้ที่จะต้อง
admit เกิดจาก  ทาง opd ลงข้อมูลยังไม่ครบหรือ ต้องการเปลี่ยนแปลงข้อมูลใหม่  หลังจากที่ตึกรับคนไข้เข้าตึกแล้วออก  AN  ทำให้มันหา hos_guid หรือ vn ไม่เจอบ้าง  เป็นต้น
ดังนั้นทาง รพ.ของผมจึงทำความตกลงกับผู้ใช้ให้ตามขั้นตอนให้ถูกต้อง
โรงพยาบาลไทรน้อย นนทบุรี 60 เตียง
เริ่มระบบ 2551 ขอบคุณอาจารย์หมาน้อย คุณหนุ่ม (รพ.ปากเกร็ด),อ.อ๊อด อ.นาจ และท่านปราชญ์ทุกท่าน ผู้เป็นอาจารย์และคนช่วยเหลือ
Master:IBM Xeon QuardCore X3650 M2 CPU 2.0 ram 28 g
OS:CentOS 6.4
Percona:5.5.33  
hosxp:3.56.9.30

Slave:IBM Xeon QuardCore E5405 CPU 2.0 ram 6 g
OS:CentOS 6.4
Percona:5.5.33  
hosxp:3.56.9.30

LIS LAB
Pfsense Log

ออฟไลน์ manoi

  • Hero Member
  • *****
  • กระทู้: 8,669
  • Respect: +170
    • ดูรายละเอียด
    • HOSxP Community Center
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #7 เมื่อ: กรกฎาคม 15, 2009, 10:16:42 AM »
0
เจอ error script แบบนี้ครับ อาจารย์ MN

06/07/2552 12:40:01 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:02 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:04 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:29 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_detail where operation_id =  and wait_save = 'Y'
06/07/2552 12:40:30 192.168.0.4/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-2 SQL>delete from operation_invent  where operation_id =  and wait_save = 'Y'


เป็นชุดคำสั่งที่เกิดจากโปรแกรมรุ่นเก่าครับ จะส่งคำสั่งนี้ไปยัง MySQL แต่ตอนใช้งานจะไม่แสดง Error ครับ แต่ชุดคำสั่งนี้จะถูกเก็บไว้ใน replicate_log พอนำมา forward ไป slave ตัว Replication manager จึงแสดง Error ให้เห็นครับ  ลองเปลี่ยนไปใช้ระบบห้องผ่าตัดแบบใหม่ แล้วจะไม่แสดง Error นี้ครับ
HOSxP Project Manager / Cheif Developer / BMS MD

ออฟไลน์ yord

  • Hero Member
  • *****
  • กระทู้: 1,952
  • PATTANI HOSPITAL
  • Respect: +2
    • ดูรายละเอียด
    • http://www.pattanihos.com
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #8 เมื่อ: กรกฎาคม 15, 2009, 12:31:35 PM »
0
 :'(
Mr.Yordying Kongkachan (yord02@gmail.com)
ADMIN PATTANI HOSPITAL  http://www.pattanihos.com
เริ่มใช้ HOSxP พฤศจิกายน 2549
(Master)IBM X3650 M3 QuardCord 3.06 1 CPU 20 GBs. of Ram (up to 68 GBs 29/06/56)
Linux 64bit MySQL 5.5.21 64bit (ด้วยความช่วยเหลือของ อ.บอยครับ)
(Slave1)HP ProLiant ML350 G6 Xeon E5530 2.04 20 GBs. Ram (up to 54 GBs 27/06/56)
Linux 64bit MySQL 5.1.30 64bit Database v.3.56.4.9 (29/06/56) client v.3.56.3.19

ออฟไลน์ เข้ม

  • Hero Member
  • *****
  • กระทู้: 2,805
  • Respect: +4
    • ดูรายละเอียด
    • phichit hospital
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #9 เมื่อ: กรกฎาคม 15, 2009, 13:44:30 PM »
0

14/07/2552 08:30:50 192.168.0.5/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')' at line 1 CLI>ห้องบัตร13 SQL>update ovst set pt_subtype= where hos_guid in ('{A44C381D-3EC7-481A-A3FD-AAA3F4393C1C}')

แบบนี้ของผมก็เจอครับ
เมื่อก่อนไม่เคยมีเลย หมายถึงตั้งแต่เป็น 3.52.3.25 ก็ไม่เคยมี แต่มาระยะหลัง ๆ มีให้เห็นทุกวันเลย
ไม่รู้ว่าจะไปดูพฤติกรรมการคีย์ข้อมูลเข้าของผู้ใช้อย่างไรดี  :( :(

2 วันมาแล้ว ไม่มี error ครับ  ทั้งห้องผ่าตัด และ เวชระเบียน  ;D ;D
Phichit Hospital
HOSxP 3.61.10.31 on FreeBSD 9.2
By BMS - Dec 26, 2007

ออฟไลน์ yord

  • Hero Member
  • *****
  • กระทู้: 1,952
  • PATTANI HOSPITAL
  • Respect: +2
    • ดูรายละเอียด
    • http://www.pattanihos.com
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #10 เมื่อ: กรกฎาคม 15, 2009, 15:27:23 PM »
0
วันนี้ก็ยังเจออยู่ครับ ???
15/07/2552 10:25:15 192.168.0.5/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where hos_guid in ('{FA872D10-AB34-4A98-8A08-E43A317FF8D5}')' at line 1 CLI>โต๊ะ0 SQL>update ovst set pt_subtype= where hos_guid in ('{FA872D10-AB34-4A98-8A08-E43A317FF8D5}')
15/07/2552 10:26:25 192.168.0.5/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where hos_guid in ('{140009F0-7E55-4F95-9900-A83BFE3671B6}')' at line 1 CLI>UC999 SQL>update ovst set pt_subtype= where hos_guid in ('{140009F0-7E55-4F95-9900-A83BFE3671B6}')
เพราะเหตุใดครับ อ. ???
Mr.Yordying Kongkachan (yord02@gmail.com)
ADMIN PATTANI HOSPITAL  http://www.pattanihos.com
เริ่มใช้ HOSxP พฤศจิกายน 2549
(Master)IBM X3650 M3 QuardCord 3.06 1 CPU 20 GBs. of Ram (up to 68 GBs 29/06/56)
Linux 64bit MySQL 5.5.21 64bit (ด้วยความช่วยเหลือของ อ.บอยครับ)
(Slave1)HP ProLiant ML350 G6 Xeon E5530 2.04 20 GBs. Ram (up to 54 GBs 27/06/56)
Linux 64bit MySQL 5.1.30 64bit Database v.3.56.4.9 (29/06/56) client v.3.56.3.19

ออฟไลน์ pop_hosxp

  • Hero Member
  • *****
  • กระทู้: 3,128
  • Respect: +38
    • ดูรายละเอียด
    • Phanomphrai Hospital
Re: ####BUG Replication Manager ครับ####
« ตอบกลับ #11 เมื่อ: พฤษภาคม 23, 2010, 15:40:30 PM »
0
เป็นชุดคำสั่งที่เกิดจากโปรแกรมรุ่นเก่าครับ จะส่งคำสั่งนี้ไปยัง MySQL แต่ตอนใช้งานจะไม่แสดง Error ครับ แต่ชุดคำสั่งนี้จะถูกเก็บไว้ใน replicate_log พอนำมา forward ไป slave ตัว Replication manager จึงแสดง Error ให้เห็นครับ  ลองเปลี่ยนไปใช้ระบบห้องผ่าตัดแบบใหม่ แล้วจะไม่แสดง Error นี้ครับ

ตอนนี้ผมเปลี่ยนไปใช้ระบบห้องผ่าตัดแบบใหม่ ก็ยังแสดง error อยู่ครับ

21/05/2553 18:55:27 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-1 SQL>delete from operation_anes where operation_id =  and wait_save = 'Y'
21/05/2553 18:55:27 192.168.0.2/hos  #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wait_save = 'Y'' at line 1 CLI>OR-1 SQL>delete from operation_team  where operation_id =  and wait_save = 'Y'
pop434241@gmail.com
รพ.พนมไพร จ.ร้อยเอ็ด www.phanomphrai.net