ERROR 1135 (00000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

解决方案 »

  1.   

    使用的mysql 5.0
    以下是my.ini内容
    [client]
    port=3306
    [mysql]
    default-character-set=utf8[mysqld]port=3306
    basedir="D:/Program Files/MySQL/MySQL Server 5.0/"datadir="D:/Program Files/MySQL/MySQL Server 5.0/Data/"default-character-set=utf8default-storage-engine=INNODBsql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"max_connections=510query_cache_size=65Mtable_cache=3020tmp_table_size=16Mthread_cache_size=64#*** MyISAM Specific options
    myisam_max_sort_file_size=100Gmyisam_max_extra_sort_file_size=100Gmyisam_sort_buffer_size=12M
    key_buffer_size=96M
    read_buffer_size=64K
    read_rnd_buffer_size=256K
    sort_buffer_size=256K
    #*** INNODB Specific options ***innodb_additional_mem_pool_size=40M
    innodb_flush_log_at_trx_commit=1
    innodb_log_buffer_size=2M
    innodb_buffer_pool_size=185M
    innodb_log_file_size=10Minnodb_thread_concurrency=8
      

  2.   

    我的机器硬件是 联想笔记本E42,内存2g,操作系统是 oem版xp2
    提示内存不足,可是我的内存确空着1g呢,怀疑是不是操作系统那里有设置啊,我连接100个数据库连接没有问题的。连200个就不行了。