ผู้เขียน หัวข้อ: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error  (อ่าน 5834 ครั้ง)

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

ออฟไลน์ udomchok

  • Hero Member
  • *****
  • กระทู้: 8,349
  • Respect: +589
    • ดูรายละเอียด
    • ร.พ.สมเด็จพระสังฆราช องค์ที่ 17
Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« เมื่อ: มิถุนายน 20, 2010, 23:33:56 PM »
0
Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error ดังนี้ครับ

ALTER TABLE risk_screen_pp_allscreening  ADD `SMOKING_PACK` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `WT` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `HT` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BMI` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPH_1` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPL_1` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPH_2` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPL_2` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPH_AVG` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `BPL_AVG` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `WAIST_CM` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `WAIST_INCH` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `PALE` varchar(1) NULL   
ALTER TABLE risk_screen_pp_allscreening  ADD `POST_PANDRIL` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `POST_PANDRIL_FOOD` int NULL   
ALTER TABLE risk_screen_pp_allscreening  ADD `FBS` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE risk_screen_pp_allscreening  ADD `CAPILLARY_BLOOD` double(22,) NULL   
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1

ตรวจสอบในตาราง risk_screen_pp_allscreening แล้วไม่พบ field ทั้งหมดข้างต้นครับ
ทำด้วยหัวใจร.พ.สมเด็จพระสังฆราช องค์ที่ 17 อ.สองพี่น้อง จ.สุพรรณบุรี
อบรมโดย BMS Team เมื่อ พ.ย. 49 ขึ้นระบบห้องบัตรเมื่อ X'Mas 2007
2008 : X-Ray กายภาพบำบัด แพทย์แผนไทย กิจกรรมบำบัด OPD ตา
2009 : ทันตกรรม ห้องตรวจตา OPD (พยาบาลและห้องตรวจแพทย์บางห้อง)

ออฟไลน์ jdadmin1

  • Hero Member
  • *****
  • กระทู้: 6,468
  • "เครื่องชำรุด...งดใช้งานชั่วคราว"
  • Respect: +33
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #1 เมื่อ: มิถุนายน 20, 2010, 23:36:41 PM »
0
 ;D ;D ;D เจอเหมือนกันครับ นั่งสงสัยอยู่เหมือนกัน ตั้งแต่อัพเวอร์ชั่นมานี่ยังไม่เจอกรณีแบบนี้ซักกะที ;D ;D ;D
โรงพยาบาลพระสมุทรเจดีย์สวาทยานนท์ จังหวัดสมุทรปราการ
Master   : HOSxP 3.66.12.28
Slave1   : HOSxP 3.66.12.28
Upgrade 23/12/2566
Facebook : Suntad Mamak

ออฟไลน์ machai

  • Hero Member
  • *****
  • กระทู้: 1,049
  • PhunPhinHospital
  • Respect: +12
    • ดูรายละเอียด
    • http://www.pphhos.com
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #2 เมื่อ: มิถุนายน 21, 2010, 07:48:17 AM »
0
;D ;D ;D เจอเหมือนกันครับ นั่งสงสัยอยู่เหมือนกัน ตั้งแต่อัพเวอร์ชั่นมานี่ยังไม่เจอกรณีแบบนี้ซักกะที ;D ;D ;D
'งั้นก็คอยแก้ไขกันก่อน ค่อยตาม อ.ไปกันครับ ;D
Name : ณัฐพร ประทุม (เอก) นวก.คอม รพ. 60 เตียง  รพ.พุนพิน จ. สุราษฎร์ธานี Tel.077-292144 ต่อ 132 fax:077-292135
Servers : CentOS 
Master :HP ProLiant DL360p Gen8 ram256G
คู่มือการติดตั้ง สำหรับ admin มือใหม่ Linux CentOS7+MySQL Percona 5.6 step by step
https://www.youtube.com/watch?v=7AckfkCp9cg&

ออฟไลน์ admin

  • Administrator
  • Jr. Member
  • *****
  • กระทู้: 68
  • Respect: +17
    • ดูรายละเอียด
    • HOSxP
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #3 เมื่อ: มิถุนายน 21, 2010, 09:06:03 AM »
0
เดี๋ยวขอเวลาตรวจสอบก่อนนะครับ คาดว่าอาจเกิดจากโครงสร้่างตารางจากระบบคัดกรองความเสี่ยงจากคุณแต้งน่ะครับ
BMS Administrator

ออฟไลน์ udomchok

  • Hero Member
  • *****
  • กระทู้: 8,349
  • Respect: +589
    • ดูรายละเอียด
    • ร.พ.สมเด็จพระสังฆราช องค์ที่ 17
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #4 เมื่อ: มิถุนายน 22, 2010, 00:48:33 AM »
0
ติดตั้ง Version 3.53.6.21 แล้ว upgrade structure ก็ยังพบ error นี้อยู่ครับ  :D :D
ทำด้วยหัวใจร.พ.สมเด็จพระสังฆราช องค์ที่ 17 อ.สองพี่น้อง จ.สุพรรณบุรี
อบรมโดย BMS Team เมื่อ พ.ย. 49 ขึ้นระบบห้องบัตรเมื่อ X'Mas 2007
2008 : X-Ray กายภาพบำบัด แพทย์แผนไทย กิจกรรมบำบัด OPD ตา
2009 : ทันตกรรม ห้องตรวจตา OPD (พยาบาลและห้องตรวจแพทย์บางห้อง)

ออฟไลน์ Khuad

  • Hero Member
  • *****
  • กระทู้: 3,778
  • .. นางฟ้า ตัวไม่น้อยแล้ว ..
  • Respect: +10
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #5 เมื่อ: มิถุนายน 22, 2010, 01:20:38 AM »
0

... งั้นเดี๋ยวผมรออีกหน่อยแล้วกันครับ  ช่วงนี้ไม่ค่อยมีเวลาทดสอบเองครับ ..  :D ...
โรงพยาบาลวังน้อย   พระนครศรีอยุธยา ( รพช.30 เตียง )
Server : ProLiant DL120G6  Xeon X3450  RDIMM 12 Gb  2x256GB SSD Raid 1
OS : CentOS 6.3  DB : Percona 5.5.21

Slave : ProLiant ML110G6  Xeon X3430  UDIMM 8 Gb  2x300GB SAS Raid 1
OS : CentOS 6.3  DB : Percona 5.5.32

HOSxP version  3.57.xx.xx    เริ่มระบบ  เมษายน 2549

ออฟไลน์ yokyai

  • Hero Member
  • *****
  • กระทู้: 1,462
  • Respect: +9
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #6 เมื่อ: มิถุนายน 24, 2010, 22:05:48 PM »
0
วันนี้อัพจาก 3.52.1.16 เป็น 3.53.6.22
มี popup error ว่า
Warining data occure error
table opdscreen
command ADD 'breast_feddinf' char(1) NULL
row decrease from 856214 --- 856212
please confirm upgrade
อันนี้ตอบ YES ไป

แต่ก็มาใหม่อีกทีว่า
Warining data occure error
table opdscreen
command ADD 'cradle_lie' char(1) NULL
row decrease from 856212 --- 856211
please confirm upgrade

อันนี้ตอบ NO
พอ upgrade เสร็จ ดำเนินการ phase2
ก็กลับมาที่
Warining data occure error
table opdscreen
command ADD 'cradle_lie' char(1) NULL
row decrease from 856212 --- 856211
please confirm upgrade

ก็ตอบ NO
อัพเสร็จ ก็อัพซ้ำ ก็มาที่ตาราง opdscreen เลยคับ แล้วก็ผ่านฟิลด์ cradle_lie ไปได้ และก็มีฟิลด์ครบ ตอนแรกไม่มีคับ อัพใหม่ก็มี

จะเป็นไรไหมคับ
แต่ปรึกษาทางพี่อ๊อด กะ พี่เด่น(ไทรน้อย) แล้วก็บอกว่าไม่น่ามีปัญหา
ขอบคุณคับ

Sakaowrat Choocherd(Administrator) Information Technologist
Bangyai Hospital(30 beds)
HOSxP = 16_May_2008
Master and Slave : DELL-R730 Server Intel Xeon 8Core(2Units)
,Ram64 GB,HDD600(10k)x4,Raid5,CentOS 7.0 64 bit
,MySQL 10.1.10-MariaDB
(3 March 2016) With BMSxTraBackupGUI

doramon

  • บุคคลทั่วไป
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #7 เมื่อ: มิถุนายน 24, 2010, 22:22:31 PM »
0
วันนี้อัพจาก 3.52.1.16 เป็น 3.53.6.22
มี popup error ว่า
Warining data occure error
table opdscreen
command ADD 'breast_feddinf' char(1) NULL
row decrease from 856214 --- 856212
please confirm upgrade
อันนี้ตอบ YES ไป

856214 --- 856212  จำทำให้ จำนวนเรคอร์ด ลดลง 2 ครับ

ไม่มีปัญหาทำไปเลย ห้ามทำตอนเป็นแบบนี้

856214 ---  0   

ออฟไลน์ ไม่เสียสละ ชัยชนะไม่เกิด

  • Hero Member
  • *****
  • กระทู้: 1,267
  • Project Maneger
  • Respect: +2
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #8 เมื่อ: มิถุนายน 24, 2010, 23:38:41 PM »
0
เจ๋งพี่อ๊อด  ;D ;D
ทำไม่ได้ หรือไม่ได้ทำ
 Project Maneger
Bangkok Medical Software Co., Ltd.
2, 2nd Floor, Soi Suksawat 33,
Suksawat Road, Radburana 10140
Thailand

ออฟไลน์ jdadmin1

  • Hero Member
  • *****
  • กระทู้: 6,468
  • "เครื่องชำรุด...งดใช้งานชั่วคราว"
  • Respect: +33
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #9 เมื่อ: มิถุนายน 25, 2010, 01:55:03 AM »
0
อ้างถึง
856214 --- 856212  จำทำให้ จำนวนเรคอร์ด ลดลง 2 ครับ

ไม่มีปัญหาทำไปเลย ห้ามทำตอนเป็นแบบนี้

856214 ---  0   
;D ;D ;D เหมือนขึ้นระบบใหม่เลยเชียว ;D ;D ;D
โรงพยาบาลพระสมุทรเจดีย์สวาทยานนท์ จังหวัดสมุทรปราการ
Master   : HOSxP 3.66.12.28
Slave1   : HOSxP 3.66.12.28
Upgrade 23/12/2566
Facebook : Suntad Mamak

ออฟไลน์ yokyai

  • Hero Member
  • *****
  • กระทู้: 1,462
  • Respect: +9
    • ดูรายละเอียด
Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
« ตอบกลับ #10 เมื่อ: มิถุนายน 25, 2010, 08:59:38 AM »
0
พี่เด่น(ไทรน้อย) แกบอกว่า ผ่านงานหมูๆไปได้ด้วยใจระทึก
สุดท้ายขอบคุณที่สุด พี่เด่น(ไทรน้อย) ,พี่นาจ,พี่อ๊อด ให้โทรถามได้ตลอดเลย จนเสร็จ
วันนี้เจอว่ารหัสคลินิก....(B2-B24) หายไป ทราบมาว่าเขาให้ยกเลิกหรือครับ หาต้นเรื่องที่ไหนดี
ปล.ไม่รู้อะไรจะหายอีกไหม(555) :)
Sakaowrat Choocherd(Administrator) Information Technologist
Bangyai Hospital(30 beds)
HOSxP = 16_May_2008
Master and Slave : DELL-R730 Server Intel Xeon 8Core(2Units)
,Ram64 GB,HDD600(10k)x4,Raid5,CentOS 7.0 64 bit
,MySQL 10.1.10-MariaDB
(3 March 2016) With BMSxTraBackupGUI