crash - My website is crashing due to this error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) -


i facing error continuously once in week.

"can't connect local mysql server through socket '/var/run/mysqld/mysqld.sock' (111)"

how can fixed problem?

please me.

my server on digitalocean host , webapp in php.

when run command

root@sharebulk:/var/log/mysql# tail -n 50 error.log

it showing:

                150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/fbpage_status_like' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/fbpage_status_like'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/fbpages' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/fbpages'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/social_fbstatus_foto' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/social_fbstatus_foto'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/social_fbuser_info' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/social_fbuser_info'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/social_page_status' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/social_page_status'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/social_twitter_status' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/social_twitter_status'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/social_twtstatus_foto' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/social_twtstatus_foto'                 150515 11:54:24 [error] /usr/sbin/mysqld: table './photo_editor/twitter_users_info' marked crashed , should repaired                 150515 11:54:24 [warning] checking table:   './photo_editor/twitter_users_info'                 150515 12:10:44 [warning] using unique option prefix myisam-recover instead of myisam-recover-options deprecated , removed in future release. please use full name instead.                 150515 12:10:44 [note] plugin 'federated' disabled.                 150515 12:10:44 innodb: innodb memory heap disabled                 150515 12:10:44 innodb: mutexes , rw_locks use gcc atomic builtins                 150515 12:10:44 innodb: compressed tables use zlib 1.2.8                 150515 12:10:44 innodb: using linux native aio                 150515 12:10:44 innodb: initializing buffer pool, size = 128.0m                 innodb: mmap(137363456 bytes) failed; errno 12                 150515 12:10:44 innodb: completed initialization of buffer pool                 150515 12:10:44 innodb: fatal error: cannot allocate memory buffer pool                 150515 12:10:44 [error] plugin 'innodb' init function returned error.                 150515 12:10:44 [error] plugin 'innodb' registration storage engine failed.                 150515 12:10:44 [error] unknown/unsupported storage engine: innodb                 150515 12:10:44 [error] aborting                  150515 12:10:44 [note] /usr/sbin/mysqld: shutdown complete                  150515 12:10:45 [warning] using unique option prefix myisam-recover instead of myisam-recover-options deprecated , removed in future release. please use full name instead.                 150515 12:10:45 [note] plugin 'federated' disabled.                 150515 12:10:45 innodb: innodb memory heap disabled                 150515 12:10:45 innodb: mutexes , rw_locks use gcc atomic builtins                 150515 12:10:45 innodb: compressed tables use zlib 1.2.8                 150515 12:10:45 innodb: using linux native aio                 150515 12:10:45 innodb: initializing buffer pool, size = 128.0m                 innodb: mmap(137363456 bytes) failed; errno 12                 150515 12:10:45 innodb: completed initialization of buffer pool                 150515 12:10:45 innodb: fatal error: cannot allocate memory buffer pool                 150515 12:10:45 [error] plugin 'innodb' init function returned error.                 150515 12:10:45 [error] plugin 'innodb' registration storage engine failed.                 150515 12:10:45 [error] unknown/unsupported storage engine: innodb                 150515 12:10:45 [error] aborting                  150515 12:10:45 [note] /usr/sbin/mysqld: shutdown complete                  root@sharebulk:/var/log/mysql# 


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -