BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: bkl ที่ กันยายน 02, 2009, 18:04:14 PM
-
ช่วยดูหน่อยครับ ว่าเกิดจากอะไร
หลังจากที่ขึ้นแล้ว
Repair กับ Update Struckture แล้ว
ก็ยังฟ้องเหมือนเดิมครับ
-
:D ;D เป็นกำลังใจให้ครับ ;D :D
-
Update แล้วยังขึ้นตัวเดิมอยู่ เดี๋ยวส่ง โค๊ดให้ดูครับ
EurekaLog 6.0.18
Application:
-------------------------------------------------------
1.1 Start Date : Wed, 2 Sep 2009 18:48:52 +0700
1.2 Name/Description: HOSMy.exe
1.3 Version Number : 3.52.5.27
1.4 Parameters :
1.5 Compilation Date: Wed, 27 May 2009 20:27:33 +0700
1.6 Up Time : 3 minutes, 19 seconds
Exception:
--------------------------------------------------------------------------------------
2.1 Date : Wed, 2 Sep 2009 18:52:12 +0700
2.2 Address : 0104A585
2.3 Module Name : HOSMy.exe
2.4 Module Version: 3.52.5.27
2.5 Type : EZSQLException
2.6 Message : SQL Error: Can't open file: 'data_synchronize.MYI' (errno: 144).
2.7 ID : D9ED
2.8 Count : 1
2.9 Status : New
2.10 Note :
User:
-------------------------------------------------------
3.1 ID : anivat
3.2 Name : anivat
3.3 Email :
3.4 Company :
3.5 Privileges: SeIncreaseQuotaPrivilege - OFF
SeSecurityPrivilege - OFF
SeTakeOwnershipPrivilege - OFF
SeLoadDriverPrivilege - OFF
SeSystemProfilePrivilege - OFF
SeSystemtimePrivilege - OFF
SeProfileSingleProcessPrivilege - OFF
SeIncreaseBasePriorityPrivilege - OFF
SeCreatePagefilePrivilege - OFF
SeBackupPrivilege - OFF
SeRestorePrivilege - OFF
SeShutdownPrivilege - OFF
SeDebugPrivilege - OFF
SeSystemEnvironmentPrivilege - OFF
SeChangeNotifyPrivilege - ON
SeRemoteShutdownPrivilege - OFF
SeUndockPrivilege - OFF
SeManageVolumePrivilege - OFF
SeImpersonatePrivilege - ON
SeCreateGlobalPrivilege - ON
SeIncreaseWorkingSetPrivilege - OFF
SeTimeZonePrivilege - OFF
SeCreateSymbolicLinkPrivilege - OFF
Active Controls:
------------------------------------------------------
4.1 Form Class : TCheckDBForm
4.2 Form Text : Check primary key nutrition_items
4.3 Control Class: TcxButton
4.4 Control Text : Full Upgrade
Computer:
-------------------------------------------------------------------------------------------------------------------
5.1 Name : ANIVAT-PC
5.2 Total Memory : 2047 Mb
5.3 Free Memory : 1164 Mb
5.4 Total Disk : 38.92 Gb
5.5 Free Disk : 6.96 Gb
5.6 System Up Time: 2 days, 9 hours, 43 minutes, 2 seconds
5.7 Processor : Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz
5.8 Display Mode : 1440 x 900, 32 bit
5.9 Display DPI : 96
5.10 Video Card : NVIDIA GeForce 8500 GT (Microsoft Corporation - WDDM v1.1) (driver 8.15.11.8593 - RAM 512 MB)
5.11 Printer : HP LaserJet 1020 (driver 6,0,3508,0)
Operating System:
---------------------------------------
6.1 Type : Microsoft Windows Vista
6.2 Build # : 7260
6.3 Update :
6.4 Language: Thai
6.5 Charset : 222
Network:
---------------------------------------------------
7.1 IP Address: 000.000.000.000 - 192.168.011.226
7.2 Submask : 000.000.000.000 - 255.255.255.000
7.3 Gateway : 000.000.000.000 - 000.000.000.000
7.4 DNS 1 : 000.000.000.000 - 000.000.000.000
7.5 DNS 2 : 000.000.000.000 - 000.000.000.000
7.6 DHCP : ON - OFF
Custom Information:
--------------------------------------------------------------------------------------------------------
8.1 Hospital Code : 11048 [รพช. บึงโขงหลง]
8.2 Database Type : MySQL
8.3 Database Protocol: mysql-4.1 [4.1.14-standard
Database hos @ 192.168.11.1]
8.4 :
8.5 No 1 : SHOW COLUMNS FROM hos.data_synchronize LIKE '%'
8.6 No 2 : SHOW TABLES FROM hos LIKE 'data_synchronize'
8.7 No 3 : select * from hosxp_ddl_field where table_name='cupsname' order by field_number
8.8 DBMS Variables :
8.9 :
8.10 back_log : 50
basedir = /
binlog_cache_size = 32768
bulk_insert_buffer_size = 8388608
character_set_client = tis620
character_set_connection = tis620
character_set_database = tis620
character_set_results = tis620
character_set_server = tis620
character_set_system = utf8
character_sets_dir = /usr/share/mysql/charsets/
collation_connection = tis620_thai_ci
collation_database = tis620_thai_ci
collation_server = tis620_thai_ci
concurrent_insert = ON
connect_timeout = 5
datadir = /var/lib/mysql/
date_format = %Y-%m-%d
datetime_format = %Y-%m-%d %H:%i:%s
default_week_format = 0
delay_key_write = ON
delayed_insert_limit = 100
delayed_insert_timeout = 300
delayed_queue_size = 1000
expire_logs_days = 0
flush = OFF
flush_time = 0
ft_boolean_syntax = + -><()~*:""&|
ft_max_word_len = 84
ft_min_word_len = 4
ft_query_expansion_limit = 20
ft_stopword_file = (built-in)
group_concat_max_len = 1024
have_archive = NO
have_bdb = NO
have_blackhole_engine = NO
have_compress = YES
have_crypt = YES
have_csv = NO
have_example_engine = NO
have_geometry = YES
have_innodb = YES
have_isam = NO
have_ndbcluster = NO
have_openssl = NO
have_query_cache = YES
have_raid = NO
have_rtree_keys = YES
have_symlink = YES
init_connect =
init_file =
init_slave =
innodb_additional_mem_pool_size = 2097152
innodb_autoextend_increment = 8
innodb_buffer_pool_awe_mem_mb = 0
innodb_buffer_pool_size = 16777216
innodb_data_file_path = ibdata1:10M:autoextend
innodb_data_home_dir = /var/lib/mysql/
innodb_fast_shutdown = ON
innodb_file_io_threads = 4
innodb_file_per_table = ON
innodb_flush_log_at_trx_commit = 1
innodb_flush_method =
innodb_force_recovery = 0
innodb_lock_wait_timeout = 50
innodb_locks_unsafe_for_binlog = OFF
innodb_log_arch_dir = /var/lib/mysql/
innodb_log_archive = OFF
innodb_log_buffer_size = 8388608
innodb_log_file_size = 5242880
innodb_log_files_in_group = 2
innodb_log_group_home_dir = /var/lib/mysql/
innodb_max_dirty_pages_pct = 90
innodb_max_purge_lag = 0
innodb_mirrored_log_groups = 1
innodb_open_files = 300
innodb_table_locks = ON
innodb_thread_concurrency = 8
interactive_timeout = 28800
join_buffer_size = 131072
key_buffer_size = 16777216
key_cache_age_threshold = 300
key_cache_block_size = 1024
key_cache_division_limit = 100
language = /usr/share/mysql/english/
large_files_support = ON
license = GPL
local_infile = ON
locked_in_memory = OFF
log = OFF
log_bin = OFF
log_error =
log_slave_updates = OFF
log_slow_queries = OFF
log_update = OFF
log_warnings = 1
long_query_time = 10
low_priority_updates = OFF
lower_case_file_system = OFF
lower_case_table_names = 0
max_allowed_packet = 16776192
max_binlog_cache_size = 4294967295
max_binlog_size = 1073741824
max_connect_errors = 10
max_connections = 100
max_delayed_threads = 20
max_error_count = 64
max_heap_table_size = 16777216
max_insert_delayed_threads = 20
max_join_size = 4294967295
max_length_for_sort_data = 1024
max_relay_log_size = 0
max_seeks_for_key = 4294967295
max_sort_length = 1024
max_tmp_tables = 32
max_user_connections = 0
max_write_lock_count = 4294967295
myisam_data_pointer_size = 4
myisam_max_extra_sort_file_size = 2147483648
myisam_max_sort_file_size = 2147483647
myisam_recover_options = OFF
myisam_repair_threads = 1
myisam_sort_buffer_size = 8388608
net_buffer_length = 8192
net_read_timeout = 30
net_retry_count = 10
net_write_timeout = 60
new = OFF
old_passwords = OFF
open_files_limit = 1024
pid_file = /var/lib/mysql/bkl.hosxp.com.pid
port = 3306
preload_buffer_size = 32768
protocol_version = 10
query_alloc_block_size = 8192
query_cache_limit = 1048576
query_cache_min_res_unit = 4096
query_cache_size = 0
query_cache_type = ON
query_cache_wlock_invalidate = OFF
query_prealloc_size = 8192
range_alloc_block_size = 2048
read_buffer_size = 258048
read_only = OFF
read_rnd_buffer_size = 520192
relay_log_purge = ON
relay_log_space_limit = 0
rpl_recovery_rank = 0
secure_auth = OFF
server_id = 1
skip_external_locking = ON
skip_networking = OFF
skip_show_database = OFF
slave_net_timeout = 3600
slave_transaction_retries = 0
slow_launch_time = 2
socket = /var/lib/mysql/mysql.sock
sort_buffer_size = 524280
sql_mode =
storage_engine = MyISAM
sql_notes = OFF
sql_warnings = OFF
sync_binlog = 0
sync_replication = 0
sync_replication_slave_id = 0
sync_replication_timeout = 0
sync_frm = ON
system_time_zone = ICT
table_cache = 64
table_type = MyISAM
thread_cache_size = 0
thread_stack = 126976
time_format = %H:%i:%s
time_zone = SYSTEM
tmp_table_size = 33554432
tmpdir =
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
tx_isolation = REPEATABLE-READ
version = 4.1.14-standard
version_comment = MySQL Community Edition - Standard (GPL)
version_compile_machine = i686
version_compile_os = pc-linux-gnu
wait_timeout = 28800
-
MySQL error code 145: Table was marked as crashed and should be repaired
MySQL error code 144: Table is crashed and last repair failed.
-
CREATE TABLE `data_synchronize` (
`vn` varchar(13) NOT NULL DEFAULT '',
`vn_guid` varchar(38) DEFAULT NULL,
`hn_guid` varchar(38) DEFAULT NULL,
`cid` varchar(17) DEFAULT NULL,
`last_update` datetime DEFAULT NULL,
`last_sync` datetime DEFAULT NULL,
`sync_complete` char(1) DEFAULT NULL,
`sync_mode` varchar(10) DEFAULT NULL,
`department` char(3) DEFAULT NULL,
PRIMARY KEY (`vn`),
KEY `cid` (`cid`),
KEY `hn_guid` (`hn_guid`),
KEY `last_sync` (`last_sync`),
KEY `last_update` (`last_update`),
KEY `sync_complete` (`sync_complete`),
KEY `sync_mode` (`sync_mode`),
KEY `vn_guid` (`vn_guid`)
) ENGINE=myisam DEFAULT CHARSET=tis620
-
เทพจริงๆ สุดยอด ;)
-
ทำได้แล้วครับ....เป็นความรู้อีกหัวข้อหนึ่ง ;Dสุดยอดมากเลยครับ ;D
ยังไงก็ขอขอบคุณอาจาร์ย อ๊อด และท่านกิจด้วยนะคับ
ที่ช่วยแนะนำ ขอบคุณมากครับ :) :D :)
-
น่าจะใช้ mysql 5.1 ได้แล้วนะ ;D