Hi before and after upgrading to latest version (11.5.0) i have some problem with mysql
now sometimes after login to plesk i get this error :
ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)
my.cnf configurarion :
how fix this issue?
thanks
now sometimes after login to plesk i get this error :
ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)
my.cnf configurarion :
Code:
[mysqld]
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
#skip-innodb
key_buffer = 768M
table_cache = 512
sort_buffer_size = 512K
read_buffer_size = 256K
read_rnd_buffer_size = 1024K
net_buffer_length = 2K
max_allowed_packet = 64M
thread_stack = 256K
query_cache_limit = 1152M
query_cache_size = 128M
query_cache_type = 1
max_connections = 350
max_user_connections=20
interactive_timeout = 70
wait_timeout = 25
connect_timeout = 10
thread_cache_size = 128
max_connect_errors = 10
tmp_table_size = 256M
max_heap_table_size = 128M
innodb_buffer_pool_size = 4G
innodb_log_buffer_size=500K
innodb_thread_concurrency=2
join_buffer_size = 1024
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
myisam_sort_buffer_size = 64M
log-bin
server-id=1
[mysqldump]
quick
[mysql]
no-auto-rehash
#safe-updates
[isamchk]
key_buffer = 8M
sort_buffer_size = 8M
[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M
[mysqlhotcopy]
interactive-timeout
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
how fix this issue?
thanks