BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: เข้ม ที่ เมษายน 14, 2009, 16:16:43 PM
-
รบกวน อ. ดู message ที่ขึ้นขณะที่รัน Replicate ครับ ตามไฟล์ที่แนบครับ
(ปัจจุบันใช้ HOSxP 3.52.3.25)
06/04/2552 10:05:16 xxx.xxx.xxx.xxx/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 '{D78E8CDF-04D8-42F4-B87E-7096C3BFCFBE}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{D78E8CDF-04D8-42F4-B87E-7096C3BFCFBE}'' and (finance_number = '' or finance_number is null)
06/04/2552 10:13:15 xxx.xxx.xxx.xxx/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 '{6DF54E3A-4F5E-4739-99C6-CB1553624D87}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{6DF54E3A-4F5E-4739-99C6-CB1553624D87}'' and (finance_number = '' or finance_number is null)
08/04/2552 09:15:36 xxx.xxx.xxx.xxx/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 '{15A6FB1D-2E69-4C7B-978A-FF992C02AF5D}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-2 SQL>delete from opitemrece where hos_guid = ''{15A6FB1D-2E69-4C7B-978A-FF992C02AF5D}'' and (finance_number = '' or finance_number is null)
09/04/2552 09:53:04 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520005838' and icode='1500693' and return_date = '2009-04-09'
09/04/2552 09:53:04 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520005838' and icode='1500379' and return_date = '2009-04-09'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500159' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500572' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500522' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500659' and return_date = '2009-04-12'
12/04/2552 20:17:36 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520007242' and icode='1500659' and return_date = '2009-04-12'
13/04/2552 14:36:01 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD1 SQL>delete from medreturn_ipd where an='520007140' and icode='1500522' and return_date = '2009-04-13'
14/04/2552 00:24:03 xxx.xxx.xxx.xxx/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 '{DB67B16F-0FB9-41AD-87BA-907D13C7030F}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{DB67B16F-0FB9-41AD-87BA-907D13C7030F}'' and (finance_number = '' or finance_number is null)
14/04/2552 06:36:17 xxx.xxx.xxx.xxx/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 '{BF9EFC3A-E1FF-48C7-AB3F-7EC41AFDD1EE}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{BF9EFC3A-E1FF-48C7-AB3F-7EC41AFDD1EE}'' and (finance_number = '' or finance_number is null)
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ขอรบกวน อาจารย์ ด้วยคนครับ
-
รบกวน อ. ดู message ที่ขึ้นขณะที่รัน Replicate ครับ ตามไฟล์ที่แนบครับ
(ปัจจุบันใช้ HOSxP 3.52.3.25)
06/04/2552 10:05:16 xxx.xxx.xxx.xxx/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 '{D78E8CDF-04D8-42F4-B87E-7096C3BFCFBE}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{D78E8CDF-04D8-42F4-B87E-7096C3BFCFBE}'' and (finance_number = '' or finance_number is null)
06/04/2552 10:13:15 xxx.xxx.xxx.xxx/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 '{6DF54E3A-4F5E-4739-99C6-CB1553624D87}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{6DF54E3A-4F5E-4739-99C6-CB1553624D87}'' and (finance_number = '' or finance_number is null)
08/04/2552 09:15:36 xxx.xxx.xxx.xxx/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 '{15A6FB1D-2E69-4C7B-978A-FF992C02AF5D}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-2 SQL>delete from opitemrece where hos_guid = ''{15A6FB1D-2E69-4C7B-978A-FF992C02AF5D}'' and (finance_number = '' or finance_number is null)
09/04/2552 09:53:04 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520005838' and icode='1500693' and return_date = '2009-04-09'
09/04/2552 09:53:04 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520005838' and icode='1500379' and return_date = '2009-04-09'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500159' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500572' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500522' and return_date = '2009-04-12'
12/04/2552 10:51:21 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD3 SQL>delete from medreturn_ipd where an='520007167' and icode='1500659' and return_date = '2009-04-12'
12/04/2552 20:17:36 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD5 SQL>delete from medreturn_ipd where an='520007242' and icode='1500659' and return_date = '2009-04-12'
13/04/2552 14:36:01 xxx.xxx.xxx.xxx/hos #42S22Unknown column 'icode' in 'where clause' CLI>PHARM-IPD1 SQL>delete from medreturn_ipd where an='520007140' and icode='1500522' and return_date = '2009-04-13'
14/04/2552 00:24:03 xxx.xxx.xxx.xxx/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 '{DB67B16F-0FB9-41AD-87BA-907D13C7030F}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{DB67B16F-0FB9-41AD-87BA-907D13C7030F}'' and (finance_number = '' or finance_number is null)
14/04/2552 06:36:17 xxx.xxx.xxx.xxx/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 '{BF9EFC3A-E1FF-48C7-AB3F-7EC41AFDD1EE}'' and (finance_number = '' or finance_num' at line 1 CLI>X-RAY-ER SQL>delete from opitemrece where hos_guid = ''{BF9EFC3A-E1FF-48C7-AB3F-7EC41AFDD1EE}'' and (finance_number = '' or finance_number is null)
โครงสร้าง master และ slave เหมือนกันหรือเปล่าครับ
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ข้อนี้เราคำนึงถึงตลอดเวลาที่มีการ Upgrade ครับ
โครงสร้าง master และ slave เหมือนกันหรือเปล่าครับ
อ. อ๊อด อย่างที่กล่าวข้างต้นครับ upgrade structure เหมือนกันแล้วทั้ง master และ slave ครับ
แต่ ถ้า อ. อ๊อด หมายถึง OS กับ MySQL เป็นดังนี้ครับ
Master : FreeBSD 7.0 MySQL 5.1.30
Slave : FreeBSD 7.1 MySQL 5.1.31
ก่อนที่จะใช้ 3.52.3.25 ไม่เป็นครับ สภาพแวดล้อมเดียวกันครับ
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ข้อนี้เราคำนึงถึงตลอดเวลาที่มีการ Upgrade ครับ
โครงสร้าง master และ slave เหมือนกันหรือเปล่าครับ
อ. อ๊อด อย่างที่กล่าวข้างต้นครับ upgrade structure เหมือนกันแล้วทั้ง master และ slave ครับ
แต่ ถ้า อ. อ๊อด หมายถึง OS กับ MySQL เป็นดังนี้ครับ
Master : FreeBSD 7.0 MySQL 5.1.30
Slave : FreeBSD 7.1 MySQL 5.1.31
ก่อนที่จะใช้ 3.52.3.25 ไม่เป็นครับ สภาพแวดล้อมเดียวกันครับ
ปัญหาได้ทำ Initial Import หลัง upgrade structure หรือยัง
;D ;D ;D ;D ;D ;D ;D ;D ;D
ผมทำ upgrade structure ที่เครื่อง master แล้ว Initial Import ไปที่เครื่อง slave แล้วรัน Replication
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ข้อนี้เราคำนึงถึงตลอดเวลาที่มีการ Upgrade ครับ
โครงสร้าง master และ slave เหมือนกันหรือเปล่าครับ
อ. อ๊อด อย่างที่กล่าวข้างต้นครับ upgrade structure เหมือนกันแล้วทั้ง master และ slave ครับ
แต่ ถ้า อ. อ๊อด หมายถึง OS กับ MySQL เป็นดังนี้ครับ
Master : FreeBSD 7.0 MySQL 5.1.30
Slave : FreeBSD 7.1 MySQL 5.1.31
ก่อนที่จะใช้ 3.52.3.25 ไม่เป็นครับ สภาพแวดล้อมเดียวกันครับ
ปัญหาได้ทำ Initial Import หลัง upgrade structure หรือยัง
;D ;D ;D ;D ;D ;D ;D ;D ;D
ผมทำ upgrade structure ที่เครื่อง master แล้ว Initial Import ไปที่เครื่อง slave แล้วรัน Replication
อ.บอย หมายถึง ทุกครั้งที่ทำการ upgrade structure ที่เครื่อง master ก็จะต้องทำการ initial import ไปที่เครื่อง slave ทุกครั้งใช่ใหมครับ
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ข้อนี้เราคำนึงถึงตลอดเวลาที่มีการ Upgrade ครับ
โครงสร้าง master และ slave เหมือนกันหรือเปล่าครับ
อ. อ๊อด อย่างที่กล่าวข้างต้นครับ upgrade structure เหมือนกันแล้วทั้ง master และ slave ครับ
แต่ ถ้า อ. อ๊อด หมายถึง OS กับ MySQL เป็นดังนี้ครับ
Master : FreeBSD 7.0 MySQL 5.1.30
Slave : FreeBSD 7.1 MySQL 5.1.31
ก่อนที่จะใช้ 3.52.3.25 ไม่เป็นครับ สภาพแวดล้อมเดียวกันครับ
ปัญหาได้ทำ Initial Import หลัง upgrade structure หรือยัง
;D ;D ;D ;D ;D ;D ;D ;D ;D
ผมทำ upgrade structure ที่เครื่อง master แล้ว Initial Import ไปที่เครื่อง slave แล้วรัน Replication
อ.บอย หมายถึง ทุกครั้งที่ทำการ upgrade structure ที่เครื่อง master ก็จะต้องทำการ initial import ไปที่เครื่อง slave ทุกครั้งใช่ใหมครับ
??? ??? ???
-
หลังจาก upgrade program ผมก็ใช้วิธี upgrade structure ของ Master แล้วทำ initial import ไปยัง slave ใหม่ เสร็จแล้วจึงจะทำ Replicate ต่อครับ (ไม่ได้ upgrade structure ของ slave)
-
หลังจาก upgrade program ผมก็ใช้วิธี upgrade structure ของ Master แล้วทำ initial import ไปยัง slave ใหม่ เสร็จแล้วจึงจะทำ Replicate ต่อครับ (ไม่ได้ upgrade structure ของ slave)
ต้องขอโทษครับ ผมใช้วิธีเดียวกับ อ. บอย และ อ. โก้ ครับ
upgrade เฉพาะ master แล้ว initial ไปที่ slave ครับ
-
medreturn_ipd
ตารางนี้มี ฟิวล์ icode หรือเปล่าครับ
ผมไม่แน่ใจว่าที่ รพ ใช้ version ผู้ป่วยใน ไหนครับ
ตัว error ด้านบน เป็นการส่งค่าที่ มีตัวอังษร ' ไปด้วยทำให้มันส่งเข้าฐานไม่ได้ครับ
-
เจอเหมือนกันครับ ของผมเป็นเพราะเวอร์ชั่นของ hosxp ครับ จำไม่ได้แล้วว่าเป็นเพราะเวอร์ชั่นไหน
แต่พอ up เป็นเวอร์ชั่น 3.52.4.2B แล้วอาการนี้หายไปครับ
-
แต่ ถ้า อ. อ๊อด หมายถึง OS กับ MySQL เป็นดังนี้ครับ
Master : FreeBSD 7.0 MySQL 5.1.30
Slave : FreeBSD 7.1 MySQL 5.1.31
ก่อนที่จะใช้ 3.52.3.25 ไม่เป็นครับ สภาพแวดล้อมเดียวกันครับ
ลองเปลี่ยน Slave : FreeBSD 7.1 MySQL 5.1.30 แล้วใช้ HOSxP V.3.52.4.2b
น่าจะหาย ผมไม่แน่ใจว่าจะเป็นที่ V.HOSxP หรือ MySQL
-
:D ;D :D
-
เป็นเหมือนกันเลยครับ
ไม่รู้เป็นเพราะว่า ไม่ได้ Upgrade Structure เครื่อง Replication เป็น Version เดียวกับเครื่อง Master หรือเปล่า
ขอรบกวน อาจารย์ ด้วยคนครับ
สภาพแวดล้อม Server กับ MySQL version คล้ายกับของผมหรือป่าวครับ
เผื่อจะได้ดูว่าเป็น ที่ version MySQL หรือป่าว