ผู้เขียน หัวข้อ: สอบถามผู้รู้ครับ  (อ่าน 4325 ครั้ง)

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

ออฟไลน์ niyomstd

  • Hero Member
  • *****
  • กระทู้: 1,270
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลแม่เมาะ
สอบถามผู้รู้ครับ
« เมื่อ: พฤษภาคม 30, 2012, 14:30:57 PM »
0
เนื่องจาก up version ใหม่ แล้วทำการ initial import จาก master to slave เสร็จแล้ว
ทำการ replicate แล้วเกิดข้อความดังนี้
30/05/2555 13:57:22 192.168.0.2/  #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 '550530080016' and income='03'  and  (finance_number is null or finance_number=''' at line 1 CLI>BILLING SQL>update opitemrece set finance_number='694 where vn = '550530080016' and income='03'  and  (finance_number is null or finance_number='')
ไม่ทราบว่าจะมีวิธีแก้ไขได้อย่างไรครับ
« แก้ไขครั้งสุดท้าย: พฤษภาคม 30, 2012, 14:52:59 PM โดย niyomstd »
นิยม  สีทองแดง
โรงพยาบาลแม่เมาะ  ลำปาง(รพช.30 เตียง)
เริ่มใช้ HOSxP 2 เมษายน 2551
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Master :  CentOS

ออฟไลน์ niyomstd

  • Hero Member
  • *****
  • กระทู้: 1,270
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลแม่เมาะ
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #1 เมื่อ: พฤษภาคม 30, 2012, 15:22:45 PM »
0
สอบถามทาง call center ครับไม่ทราบว่าจะมีแก้ไขอย่างไรครับ
นิยม  สีทองแดง
โรงพยาบาลแม่เมาะ  ลำปาง(รพช.30 เตียง)
เริ่มใช้ HOSxP 2 เมษายน 2551
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Master :  CentOS

ออฟไลน์ เกื้อกูล ครับ..

  • Hero Member
  • *****
  • กระทู้: 12,611
  • Respect: +169
    • ดูรายละเอียด
    • โรงพยาบาลปากท่อ
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #2 เมื่อ: พฤษภาคม 30, 2012, 23:03:32 PM »
0
สอบถามทาง call center ครับไม่ทราบว่าจะมีแก้ไขอย่างไรครับ

ตรวจสอบสัญลักษณ์ต้องห้าม มีในตาราง drugusage หรือไม่ เช่น..( ' )
Implement  HOSxP  Start 2548 ---> NOW!
Station : 130 Client   V.3 Version  3.67.1.XX
Server  : CENTOS  +MySQL maria 10.x.x

ออฟไลน์ golf_win

  • Hero Member
  • *****
  • กระทู้: 3,481
  • Respect: +112
    • ดูรายละเอียด
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #3 เมื่อ: พฤษภาคม 31, 2012, 07:13:15 AM »
0
เนื่องจาก up version ใหม่ แล้วทำการ initial import จาก master to slave เสร็จแล้ว
ทำการ replicate แล้วเกิดข้อความดังนี้
30/05/2555 13:57:22 192.168.0.2/  #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 '550530080016' and income='03'  and  (finance_number is null or finance_number=''' at line 1 CLI>BILLING SQL>update opitemrece set finance_number='694 where vn = '550530080016' and income='03'  and  (finance_number is null or finance_number='')
ไม่ทราบว่าจะมีวิธีแก้ไขได้อย่างไรครับ
คำสั่งที่เขียนลง replication_log ผิดครับ set finance_number='694   ---->ตัว ' หายไป 1 ตัว
โรงพยาบาลเจ็ดเสมียน จังหวัดราชบุรี
Start 19-1-51    35 station
HOSxP  3.59.5.18 Activate License
Tel. 032-305096-7 ต่อ 118
Web. http://csmhos.thaiddns.com:8080
         http://csmhos.thaieasydns.com:8080

ออฟไลน์ เกื้อกูล ครับ..

  • Hero Member
  • *****
  • กระทู้: 12,611
  • Respect: +169
    • ดูรายละเอียด
    • โรงพยาบาลปากท่อ
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #4 เมื่อ: พฤษภาคม 31, 2012, 08:00:04 AM »
0

คำสั่งที่เขียนลง replication_log ผิดครับ set finance_number='694   ---->ตัว ' หายไป 1 ตัว


เฉพาะเวอร์ชันนี้ หรือ...ว่า... ???
Implement  HOSxP  Start 2548 ---> NOW!
Station : 130 Client   V.3 Version  3.67.1.XX
Server  : CENTOS  +MySQL maria 10.x.x

ออฟไลน์ niyomstd

  • Hero Member
  • *****
  • กระทู้: 1,270
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลแม่เมาะ
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #5 เมื่อ: พฤษภาคม 31, 2012, 08:18:58 AM »
0
ใช้ V 3.55.4.20 ครับผม
นิยม  สีทองแดง
โรงพยาบาลแม่เมาะ  ลำปาง(รพช.30 เตียง)
เริ่มใช้ HOSxP 2 เมษายน 2551
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Master :  CentOS

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

  • Hero Member
  • *****
  • กระทู้: 5,369
  • Respect: +12
    • ดูรายละเอียด
    • โรงพยาบาลชุมชน ด่านมะขามเตี้ย
Re: สอบถามผู้รู้ครับ
« ตอบกลับ #6 เมื่อ: พฤษภาคม 31, 2012, 10:49:33 AM »
0

คำสั่งที่เขียนลง replication_log ผิดครับ set finance_number='694   ---->ตัว ' หายไป 1 ตัว


เฉพาะเวอร์ชันนี้ หรือ...ว่า... ???

มีปัญหาหายเวอร์ชั่นนะครับ
ผมใช้ 3.55.2.29 ไม่เกิดปัญหา
เริ่ม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