ผู้เขียน หัวข้อ: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!  (อ่าน 4032 ครั้ง)

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

ออฟไลน์ A ROON CHAI

  • Hero Member
  • *****
  • กระทู้: 729
  • Respect: +1
    • ดูรายละเอียด
    • โรงพยาบาลวัดสิงห์
ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« เมื่อ: พฤศจิกายน 19, 2008, 16:24:10 PM »
0
เป็นทุกที่ที่มีการพิมพ์ใบสั่งยา
ตอนนี้พิมพ์ใบสั่งยาไม่ได้เลยครับ
อรุณชัย ชื่นนิ่ม (นักรังสีการแพทย์)
WATSING HOSPITAL CHAINAT.(Tel.056-461344) http://www.watsinghospital.com/
Master Server:IBM system X3550 M3, RAM: 16 GB.,SAS 146X2 GB.
Immage Server:hp proliant ML 110 G6, RAM: 4 GB.,SAS 300 GB.
Replicate(x2): IBM system X3200, RAM: 4 GB.,SAS 73X2 GB.
CentOS 6.3, MySQL 5.5.27-rel
Cient: WindowsXP SP3, HOSxP Version: 3.55.11.28
Start : 02/04/2008 by BMS's team(อ.ตะเกียง)
Active Package : HOSxP Activation Package - 2556(2013-11-06)

บริการ BMS Maintenance Package  http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=10605.msg107543#new
แนะนำตัวเอง   
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=4413.0
"ถามอย่างไร..ให้ได้คำตอบ"  
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=3475.0

ออฟไลน์ Knott

  • Hero Member
  • *****
  • กระทู้: 885
  • Respect: +1
    • ดูรายละเอียด
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #1 เมื่อ: พฤศจิกายน 19, 2008, 16:47:28 PM »
0
ลอง repair serial ดูครับ
รพช.วัดโบสถ์ จ.พิษณุโลก
ขึ้นระบบ 1 เมษายน 2551 (ขึ้นระบบเอง)
Server : IBM x3250 M2, RAM 4 GB, FreeBSD 7.2, Mysql 5.1.30
HOSxP Version 3.56.1.15

doramon

  • บุคคลทั่วไป
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #2 เมื่อ: พฤศจิกายน 19, 2008, 17:01:47 PM »
0
I wanted to convert my database (which has more than 300 tables - all of them are MyISM type) to InnoDB format.

I googled and found the best way to achieve this is using an SQL statement

'ALTER TALE tablename type=innodb'

This SQL statement works fine - but changing 300+ tables is not an good solution.

I found this script very interesting to change all tables in a database to innoDB format.

for T in `mysql -u root -B -N -e “show tables” test`; do mysql -u root -e “alter table $T type=innodb” test; done

Replace “test” with the target database. This pattern is also great for optimizing or analyzing your MyISAM tables.

Hope this helps.

doramon

  • บุคคลทั่วไป
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #3 เมื่อ: พฤศจิกายน 19, 2008, 17:04:50 PM »
0
ลอง repair serial ดูครับ

จะอยู่ที่ เมนู tool  --->  misc ---->  checkDB


ออฟไลน์ A ROON CHAI

  • Hero Member
  • *****
  • กระทู้: 729
  • Respect: +1
    • ดูรายละเอียด
    • โรงพยาบาลวัดสิงห์
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #4 เมื่อ: พฤศจิกายน 19, 2008, 17:49:16 PM »
0
 ;D ;D ;D OK แล้วครับ  ขอบพระคุณอาจารย์ทุกท่านครับ

...เกิดจากอะไรครับ

...ทำไมทำ serial checkแล้วหาย

...ต้องทำ serial check ทุกกี่วันครับ

...
อรุณชัย ชื่นนิ่ม (นักรังสีการแพทย์)
WATSING HOSPITAL CHAINAT.(Tel.056-461344) http://www.watsinghospital.com/
Master Server:IBM system X3550 M3, RAM: 16 GB.,SAS 146X2 GB.
Immage Server:hp proliant ML 110 G6, RAM: 4 GB.,SAS 300 GB.
Replicate(x2): IBM system X3200, RAM: 4 GB.,SAS 73X2 GB.
CentOS 6.3, MySQL 5.5.27-rel
Cient: WindowsXP SP3, HOSxP Version: 3.55.11.28
Start : 02/04/2008 by BMS's team(อ.ตะเกียง)
Active Package : HOSxP Activation Package - 2556(2013-11-06)

บริการ BMS Maintenance Package  http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=10605.msg107543#new
แนะนำตัวเอง   
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=4413.0
"ถามอย่างไร..ให้ได้คำตอบ"  
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=3475.0

ออฟไลน์ A ROON CHAI

  • Hero Member
  • *****
  • กระทู้: 729
  • Respect: +1
    • ดูรายละเอียด
    • โรงพยาบาลวัดสิงห์
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #5 เมื่อ: พฤศจิกายน 19, 2008, 18:16:35 PM »
0
I wanted to convert my database (which has more than 300 tables - all of them are MyISM type) to InnoDB format.

I googled and found the best way to achieve this is using an SQL statement

'ALTER TALE tablename type=innodb'

This SQL statement works fine - but changing 300+ tables is not an good solution.

I found this script very interesting to change all tables in a database to innoDB format.

for T in `mysql -u root -B -N -e “show tables” test`; do mysql -u root -e “alter table $T type=innodb” test; done

Replace “test” with the target database. This pattern is also great for optimizing or analyzing your MyISAM tables.

Hope this helps.


หลังจากลง centOS,MySQL ใหม่และย้ายฐานข้อมูลแล้ว ต้องทำ High Performance ด้วยหรือเปล่าครับ
(ฐานข้อมูลเดิมเคยทำไว้แล้ว)
อรุณชัย ชื่นนิ่ม (นักรังสีการแพทย์)
WATSING HOSPITAL CHAINAT.(Tel.056-461344) http://www.watsinghospital.com/
Master Server:IBM system X3550 M3, RAM: 16 GB.,SAS 146X2 GB.
Immage Server:hp proliant ML 110 G6, RAM: 4 GB.,SAS 300 GB.
Replicate(x2): IBM system X3200, RAM: 4 GB.,SAS 73X2 GB.
CentOS 6.3, MySQL 5.5.27-rel
Cient: WindowsXP SP3, HOSxP Version: 3.55.11.28
Start : 02/04/2008 by BMS's team(อ.ตะเกียง)
Active Package : HOSxP Activation Package - 2556(2013-11-06)

บริการ BMS Maintenance Package  http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=10605.msg107543#new
แนะนำตัวเอง   
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=4413.0
"ถามอย่างไร..ให้ได้คำตอบ"  
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=3475.0

doramon

  • บุคคลทั่วไป
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #6 เมื่อ: พฤศจิกายน 19, 2008, 18:25:12 PM »
0
กดเลยครับ


ออฟไลน์ A ROON CHAI

  • Hero Member
  • *****
  • กระทู้: 729
  • Respect: +1
    • ดูรายละเอียด
    • โรงพยาบาลวัดสิงห์
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #7 เมื่อ: พฤศจิกายน 19, 2008, 19:12:36 PM »
0
อรุณชัย ชื่นนิ่ม (นักรังสีการแพทย์)
WATSING HOSPITAL CHAINAT.(Tel.056-461344) http://www.watsinghospital.com/
Master Server:IBM system X3550 M3, RAM: 16 GB.,SAS 146X2 GB.
Immage Server:hp proliant ML 110 G6, RAM: 4 GB.,SAS 300 GB.
Replicate(x2): IBM system X3200, RAM: 4 GB.,SAS 73X2 GB.
CentOS 6.3, MySQL 5.5.27-rel
Cient: WindowsXP SP3, HOSxP Version: 3.55.11.28
Start : 02/04/2008 by BMS's team(อ.ตะเกียง)
Active Package : HOSxP Activation Package - 2556(2013-11-06)

บริการ BMS Maintenance Package  http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=10605.msg107543#new
แนะนำตัวเอง   
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=4413.0
"ถามอย่างไร..ให้ได้คำตอบ"  
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=3475.0

ออฟไลน์ udomchok

  • Hero Member
  • *****
  • กระทู้: 8,349
  • Respect: +589
    • ดูรายละเอียด
    • ร.พ.สมเด็จพระสังฆราช องค์ที่ 17
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #8 เมื่อ: พฤศจิกายน 20, 2008, 00:01:50 AM »
0
I wanted to convert my database (which has more than 300 tables - all of them are MyISM type) to InnoDB format.

I googled and found the best way to achieve this is using an SQL statement

'ALTER TALE tablename type=innodb'

This SQL statement works fine - but changing 300+ tables is not an good solution.

I found this script very interesting to change all tables in a database to innoDB format.

for T in `mysql -u root -B -N -e “show tables” test`; do mysql -u root -e “alter table $T type=innodb” test; done

Replace “test” with the target database. This pattern is also great for optimizing or analyzing your MyISAM tables.

Hope this helps.

so good.!!

googled
ตกลงว่าเดี๋ยวนี้ google กลายเป็น verb ไปด้วยแล้วเหรือเนี่ย !@#$%^&*
ทำด้วยหัวใจร.พ.สมเด็จพระสังฆราช องค์ที่ 17 อ.สองพี่น้อง จ.สุพรรณบุรี
อบรมโดย BMS Team เมื่อ พ.ย. 49 ขึ้นระบบห้องบัตรเมื่อ X'Mas 2007
2008 : X-Ray กายภาพบำบัด แพทย์แผนไทย กิจกรรมบำบัด OPD ตา
2009 : ทันตกรรม ห้องตรวจตา OPD (พยาบาลและห้องตรวจแพทย์บางห้อง)

ออฟไลน์ Knott

  • Hero Member
  • *****
  • กระทู้: 885
  • Respect: +1
    • ดูรายละเอียด
Re: ขึ้น SQL Error ไม่พิมพ์ใบสั่งยา!!
« ตอบกลับ #9 เมื่อ: พฤศจิกายน 20, 2008, 10:34:36 AM »
0
ศัพท์ใหม่มั้งครับ  ;D ;D ;D
รพช.วัดโบสถ์ จ.พิษณุโลก
ขึ้นระบบ 1 เมษายน 2551 (ขึ้นระบบเอง)
Server : IBM x3250 M2, RAM 4 GB, FreeBSD 7.2, Mysql 5.1.30
HOSxP Version 3.56.1.15