• 15-11-2014, 01:55:58
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Merhaba Mysql çöktü ve yardıma ihtiyacım var mümkünse yardımcı olurmusunuz ?


    mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
  • 15-11-2014, 02:03:05
    #2
    Üyeliği durduruldu
    Servise restart attınız mı ?
  • 15-11-2014, 02:04:46
    #3
    Jolan adlı üyeden alıntı: mesajı görüntüle
    Servise restart attınız mı ?


    root@vm01 [~]# service mysql restart
    MySQL server PID file could not be found! [FAILED]
    Starting MySQL..The server quit without updating PID file (/var/lib/mysql/vm01.xxxxxxxx.pid).
  • 15-11-2014, 02:10:14
    #4
    Üyeliği durduruldu
    my.cnf dosyanızı açıp
    nano etc/my.cnf
    kodu ekleyip kaydedin
    nnodb_use_native_aio = 0
    Daha sonra restart atın hocam
  • 15-11-2014, 02:13:14
    #5
    sorun aynı hocam
  • 15-11-2014, 02:14:54
    #6
    Üyeliği durduruldu
    Denizim adlı üyeden alıntı: mesajı görüntüle
    sorun aynı hocam
    Yanlış yazmışım hocam
    innodb_use_native_aio = 0
    olacak
  • 15-11-2014, 02:15:23
    #7
    biliyorum ben düzelttim eklerken
  • 15-11-2014, 02:18:45
    #8
    Üyeliği durduruldu
    Denizim adlı üyeden alıntı: mesajı görüntüle
    biliyorum ben düzelttim eklerken
    Bunuda ekleyin hocam öyleyse
    skip-innodb
  • 15-11-2014, 02:21:59
    #9
    [mysqld]
    skip-innodb
    innodb_file_per_table = 1
    long_query_time = 5
    thread_cache_size = 2048
    key_buffer = 256M
    table_cache = 10240
    table_definition_cache = 10240
    max_heap_table_size = 128M
    tmp_table_size = 128M
    open_files_limit = 5120
    max_connections = 200
    query_cache_type = 1
    query_cache_size = 128M
    query_cache_limit = 16M
    max_write_lock_count = 128
    join_buffer_size = 1M
    read_buffer_size = 2M
    sort_buffer_size = 2M
    low_priority_updates = 1
    concurrent_insert = 2
    default-storage-engine = MyISAM
    innodb_use_native_aio = 0
    #required unique id between 1 and 2^32 - 1
    server-id = 1
    max_allowed_packet=268435456
    [mysql]
    no-auto-rehash
    [mysqldump]
    quick
    quote-names
    max_allowed_packet = 1000M
    [myisamchk]
    tmpdir=/temp
    key_buffer = 64M
    sort_buffer_size = 64M
    read_buffer = 16M
    write_buffer = 16M
    [mysqlhotcopy]
    interactive-timeout

    aynı hocam düzelmedi ve my.cnf dosyam