ผู้เขียน หัวข้อ: login แล้ว Warning : Innodb engine status disabled ครับ  (อ่าน 8414 ครั้ง)

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

ออฟไลน์ รพช.สรรพยา

  • Newbie
  • *
  • กระทู้: 38
  • Respect: 0
    • ดูรายละเอียด
login แล้ว Warning : Innodb engine status disabled ครับ
« เมื่อ: มีนาคม 21, 2011, 10:31:44 AM »
0
login แล้ว Warning : Innodb engine status disabled ครับ

my.cnf

[client]
port   = 3306
socket      = /var/lib/mysql/mysql.sock
#basedir   = /var/lib/mysql
#datadir   = /var/lib/mysql/
datadefault-character-set=tis620

[mysqld]

port      = 3306
socket      = /var/lib/mysql/mysql.sock
skip-lockingkey_buffer = 384M
max_allowed_packet = 256M
table_cache = 1000
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
max_heap_table_size = 128M
myisam_sort_buffer_size = 128M
thread_cache = 8
query_cache_size= 256M
thread_concurrency = 8
default-character-set=tis620
skip-name-resolve
innodb_file_per_table
skip-character-set-client-handshake
init_connect = 'SET NAMES tis620'
max_connections = 1000

######################################## 5.1.25--->X 
cpu multicore
innodb_thread_concurrency = 0
########################################
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /var/lib/mysql/
#############################   mysql 5.1.X
#innodb_log_arch_dir = /var/lib/mysql/
#############################
#############################
# add rc.local  --->  ulimit -n 30000     
#############################
innodb_buffer_pool_size = 2048M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 512M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

[mysqldump]
quickmax_allowed_packet = 32M
allow-keywords

[mysql]
no-auto-rehash
default-character-set=tis620

[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 1M
write_buffer = 1M

[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 1M
write_buffer = 1M

[mysqlhotcopy]
interactive-timeout

RAM 4 Gig ครับ ใช้ CentOS ครับ 5.5 mysql ของ CentOS ครับ
นายสุรชัย  บินชัย
เจ้าหน้าที่รังสีการแพทย์
รพ.สรรพยา

doramon

  • บุคคลทั่วไป
Re: login แล้ว Warning : Innodb engine status disabled ครับ
« ตอบกลับ #1 เมื่อ: มีนาคม 21, 2011, 11:14:31 AM »
0
1. สำรองข้อมูล
2. rm -rf  /var/lib/mysql/ib*   
3. restart  mysql ใหม่


สำรองข้อมูลก่อนทำนะครับ

ออฟไลน์ รพช.สรรพยา

  • Newbie
  • *
  • กระทู้: 38
  • Respect: 0
    • ดูรายละเอียด
Re: login แล้ว Warning : Innodb engine status disabled ครับ
« ตอบกลับ #2 เมื่อ: มีนาคม 21, 2011, 14:49:17 PM »
0
ได้แล้วขอบคุณครับ
นายสุรชัย  บินชัย
เจ้าหน้าที่รังสีการแพทย์
รพ.สรรพยา

ออฟไลน์ piyarat

  • Jr. Member
  • **
  • กระทู้: 88
  • ใจแลกใจใช้ไม่ได้ทุกคน...!!
  • Respect: +3
    • ดูรายละเอียด
Re: login แล้ว Warning : Innodb engine status disabled ครับ
« ตอบกลับ #3 เมื่อ: มีนาคม 21, 2014, 09:43:15 AM »
0
แนะนำหน่อยค่ะต้องทำยังไงบ้าง...แต่ Ram 8Gb ค่ะ  ใช้ Tool อ. Config ค่ะ
[client]
port= 3306
socket= /var/lib/mysql/mysql.sock
default-character-set=tis620
[mysqld]
port= 3306
socket= /var/lib/mysql/mysql.sock
skip-external-locking
default_storage_engine=MyISAM
key_buffer = 256M
max_allowed_packet = 799M
table_open_cache = 2048
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 128M
thread_cache = 8
query_cache_type = 2
query_cache_size= 399M
thread_concurrency = 8
low_priority_updates=1
character-set-server=tis620
skip-name-resolve
innodb_file_per_table
skip-character-set-client-handshake
init_connect = 'SET NAMES tis620'
max_heap_table_size = 399M

innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:100M:autoextend
innodb_log_group_home_dir = /var/lib/mysql/
innodb_buffer_pool_size = 6G
innodb_buffer_pool_instances = 8
innodb_additional_mem_pool_size = 32M
innodb_log_file_size = 256M
innodb_file_format=Barracuda
innodb_file_per_table=1
innodb_purge_threads=1
innodb_log_buffer_size = 8M
innodb_log_files_in_group = 3
innodb_flush_log_at_trx_commit = 2
innodb_lock_wait_timeout = 120
innodb_thread_concurrency = 8
innodb_flush_method=O_DIRECT
innodb_checksums=0   
innodb_doublewrite=0   
innodb_support_xa=0       
innodb_max_dirty_pages_pct=90   
innodb_open_files = 2048
innodb_locks_unsafe_for_binlog=1
join_buffer_size = 2M
concurrent_insert = 2
max_heap_table_size = 256M

############# Percona XtraDB ############
innodb_io_capacity = 200     
innodb_write_io_threads = 8   
innodb_read_io_threads = 8

[mysqldump]
quick
max_allowed_packet = 512M
allow-keywords

[mysql]
no-auto-rehash
default-character-set=tis620

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

[mysqld_safe]
open-files-limit = 50000
ปิยรัตน์ คงแก้ว ลูกจ้างชั่ว & ADMIN
รพ.ค่ายเทพสตรีศรีสุนทร
ม.11 ต.กะปาง อ.ทุ่งสง จ.นครศรีธรรมราช
รับตำแหน่ง 1 ต.ค. 55 เป็นทางการ แบบ งง
Activate แล้ว..!!!

ออฟไลน์ pp321

  • Full Member
  • ***
  • กระทู้: 176
  • Respect: 0
    • ดูรายละเอียด
Re: login แล้ว Warning : Innodb engine status disabled ครับ
« ตอบกลับ #4 เมื่อ: มีนาคม 21, 2014, 15:00:29 PM »
0
แนะนำหน่อยค่ะต้องทำยังไงบ้าง...แต่ Ram 8Gb ค่ะ  ใช้ Tool อ. Config ค่ะ
[client]
port= 3306
socket= /var/lib/mysql/mysql.sock
default-character-set=tis620
[mysqld]
port= 3306
socket= /var/lib/mysql/mysql.sock
skip-external-locking
default_storage_engine=MyISAM
key_buffer = 256M
max_allowed_packet = 799M
table_open_cache = 2048
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 128M
thread_cache = 8
query_cache_type = 2
query_cache_size= 399M
thread_concurrency = 8
low_priority_updates=1
character-set-server=tis620
skip-name-resolve
innodb_file_per_table
skip-character-set-client-handshake
init_connect = 'SET NAMES tis620'
max_heap_table_size = 399M

innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:100M:autoextend
innodb_log_group_home_dir = /var/lib/mysql/
innodb_buffer_pool_size = 6G
innodb_buffer_pool_instances = 8
innodb_additional_mem_pool_size = 32M
innodb_log_file_size = 256M
innodb_file_format=Barracuda
innodb_file_per_table=1
innodb_purge_threads=1
innodb_log_buffer_size = 8M
innodb_log_files_in_group = 3
innodb_flush_log_at_trx_commit = 2
innodb_lock_wait_timeout = 120
innodb_thread_concurrency = 8
innodb_flush_method=O_DIRECT
innodb_checksums=0   
innodb_doublewrite=0   
innodb_support_xa=0       
innodb_max_dirty_pages_pct=90   
innodb_open_files = 2048
innodb_locks_unsafe_for_binlog=1
join_buffer_size = 2M
concurrent_insert = 2
max_heap_table_size = 256M

############# Percona XtraDB ############
innodb_io_capacity = 200     
innodb_write_io_threads = 8   
innodb_read_io_threads = 8

[mysqldump]
quick
max_allowed_packet = 512M
allow-keywords

[mysql]
no-auto-rehash
default-character-set=tis620

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

[mysqld_safe]
open-files-limit = 50000
ลง Linux เป็น Centos  มั้ยครับ
ถ้าเป็น Centos เป็น เวอร์ชัน 5 หรือ 6 ครับ และเป็น 32 หรือ 64 bit ครับ
BMS LIS Gateway

ออฟไลน์ piyarat

  • Jr. Member
  • **
  • กระทู้: 88
  • ใจแลกใจใช้ไม่ได้ทุกคน...!!
  • Respect: +3
    • ดูรายละเอียด
Re: login แล้ว Warning : Innodb engine status disabled ครับ
« ตอบกลับ #5 เมื่อ: มีนาคม 24, 2014, 08:35:51 AM »
0
Centos 5 ค่ะ...32bit ค่ะ
ปิยรัตน์ คงแก้ว ลูกจ้างชั่ว & ADMIN
รพ.ค่ายเทพสตรีศรีสุนทร
ม.11 ต.กะปาง อ.ทุ่งสง จ.นครศรีธรรมราช
รับตำแหน่ง 1 ต.ค. 55 เป็นทางการ แบบ งง
Activate แล้ว..!!!