Q&A

  • mysql에서 색인이 되지를 않습니다.
mysql 4.0.1-alpha 버전이고 서버는 솔라리스 7을 사용하고 있습니다.

프로그램(델파이)에서 색인을 해도 색인이 되지를 않습니다. 그리고 영숫자는 색인이 됩니다.

어떻게 하면 될까요? mysql을 새로 설치 하지 않고 해결하는 방법이 없을까요?

mysql 설정값 (mysqladmin -p variable > test.ini 로 저장)

+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Variable_name | Value |
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| back_log | 50 |
| basedir | /usr/local/mysql-4.0.1-alpha-sun-solaris2.7-sparc/ |
| binlog_cache_size | 32768 |
| character_set | latin1 |
| character_sets | latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5 |
| concurrent_insert | ON |
| connect_timeout | 5 |
| datadir | /usr/local/mysql-4.0.1-alpha-sun-solaris2.7-sparc/data/ |
| delay_key_write | ON |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| flush | OFF |
| flush_time | 0 |
| ft_min_word_len | 4 |
| ft_max_word_len | 254 |
| ft_max_word_len_for_sort | 20 |
| ft_boolean_syntax | + -><()~*:""&| |
| have_bdb | NO |
| have_innodb | YES |
| have_isam | YES |
| have_raid | NO |
| have_symlink | YES |
| have_openssl | NO |
| init_file | |
| innodb_additional_mem_pool_size | 1048576 |
| innodb_buffer_pool_size | 8388608 |
| innodb_data_file_path | ibdata1:64M |
| innodb_data_home_dir | |
| innodb_file_io_threads | 9 |
| innodb_force_recovery | 0 |
| innodb_thread_concurrency | 8 |
| innodb_flush_log_at_trx_commit | OFF |
| innodb_fast_shutdown | OFF |
| innodb_flush_method | |
| innodb_lock_wait_timeout | 1073741824 |
| innodb_log_arch_dir | |
| innodb_log_archive | OFF |
| innodb_log_buffer_size | 1048576 |
| innodb_log_file_size | 5242880 |
| innodb_log_files_in_group | 2 |
| innodb_log_group_home_dir | |
| innodb_mirrored_log_groups | 1 |
| interactive_timeout | 28800 |
| join_buffer_size | 131072 |
| key_buffer_size | 8388600 |
| language | /usr/local/mysql-4.0.1-alpha-sun-solaris2.7-sparc/share/mysql/english/ |
| large_files_support | ON |
| locked_in_memory | OFF |
| log | OFF |
| log_update | OFF |
| log_bin | OFF |
| log_slave_updates | OFF |
| log_long_queries | OFF |
| long_query_time | 10 |
| low_priority_updates | OFF |
| lower_case_table_names | 0 |
| max_allowed_packet | 1048576 |
| max_binlog_cache_size | 4294967295 |
| max_binlog_size | 1073741824 |
| max_connections | 100 |
| max_connect_errors | 10 |
| max_delayed_threads | 20 |
| max_heap_table_size | 16777216 |
| max_join_size | 4294967295 |
| max_sort_length | 1024 |
| max_user_connections | 0 |
| max_tmp_tables | 32 |
| max_write_lock_count | 4294967295 |
| myisam_bulk_insert_tree_size | 8388608 |
| myisam_max_extra_sort_file_size | 256 |
| myisam_max_sort_file_size | 2047 |
| myisam_recover_options | OFF |
| myisam_sort_buffer_size | 8388608 |
| net_buffer_length | 16384 |
| net_read_timeout | 30 |
| net_retry_count | 10 |
| net_write_timeout | 60 |
| open_files_limit | 0 |
| pid_file | /usr/local/mysql-4.0.1-alpha-sun-solaris2.7-sparc/data/tntwww.pid |
| port | 3306 |
| protocol_version | 10 |
| record_buffer | 131072 |
| record_rnd_buffer | 131072 |
| rpl_recovery_rank | 0 |
| query_buffer_size | 0 |
| query_cache_limit | 1048576 |
| query_cache_size | 0 |
| query_cache_startup_type | 1 |
| safe_show_database | OFF |
| server_id | 0 |
| slave_net_timeout | 3600 |
| skip_locking | OFF |
| skip_networking | OFF |
| skip_show_database | OFF |
| slow_launch_time | 2 |
| socket | /tmp/mysql.sock |
| sort_buffer | 2097144 |
| sql_mode | 0 |
| table_cache | 64 |
| table_type | MYISAM |
| thread_cache_size | 0 |
| thread_concurrency | 10 |
| thread_stack | 65536 |
| transaction_isolation | READ-COMMITTED |
| timezone | KST |
| tmp_table_size | 33554432 |
| tmpdir | /var/tmp/ |
| version | 4.0.1-alpha |
| wait_timeout | 28800 |
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1  COMMENTS
  • Profile
    TeamB 2005.08.11 02:28

    문자셋을 바꾸어 보시죠..

    <!--CodeS-->
    character_set | latin1 |
    <!--CodeE-->

    latin1 으로 되어 있네요...euc_kr 로 바꾸면 됩니다.

    my.ini (또는 my.cnf) 에서 mysqld 섹션에 default-character-set 항목을 euc_kr 로 설정해주시면...

    그럼..