easy apache کار میدهد؟
اگر خیر مال my.cnf سرور شماست که socket آن اشتباها وارد شده است.
این my.cnf رو جایگزین کنید سپس تست کنید.
کد:
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-external-locking
key_buffer_size = 784M
max_allowed_packet = 10M
table_open_cache = 1024
sort_buffer_size = 2M
read_buffer_size = 16M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
thread_concurrency = 8
table_open_cache = 400
tmp_table_size = 24M
max_heap_table_size = 24M
table_definition_cache = 400
table_open_cache = 400
max_allowed_packet=32M
open_files_limit=900000
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
در صورت حل نشدن مشکل تماس بگیرید.