BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: A ROON CHAI ที่ พฤศจิกายน 19, 2008, 16:24:10 PM
-
เป็นทุกที่ที่มีการพิมพ์ใบสั่งยา
ตอนนี้พิมพ์ใบสั่งยาไม่ได้เลยครับ
-
ลอง repair serial ดูครับ
-
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.
-
ลอง repair serial ดูครับ
จะอยู่ที่ เมนู tool ---> misc ----> checkDB
-
;D ;D ;D OK แล้วครับ ขอบพระคุณอาจารย์ทุกท่านครับ
...เกิดจากอะไรครับ
...ทำไมทำ serial checkแล้วหาย
...ต้องทำ serial check ทุกกี่วันครับ
...
-
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 ด้วยหรือเปล่าครับ
(ฐานข้อมูลเดิมเคยทำไว้แล้ว)
-
กดเลยครับ
-
กดเลยครับ
:D :D :D :D
-
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 ไปด้วยแล้วเหรือเนี่ย !@#$%^&*
-
ศัพท์ใหม่มั้งครับ ;D ;D ;D