ERROR 2003 (HY000) at line 2: Can't connect to MySQL server on '127.0.0.1' (111) - это сегодня. раньше бывало и ERROR 1053 (08S01) at line 1: Server shutdown in progress
прелюдия: есть вебсервер. ос: slackware 12.0 mysql: 5.0.37 apache: 2.2.4
my.cnf: # Example MySQL config file for very large systems. # # This is for a large system with memory of 1G-2G where the system runs mainly
# The following options will be passed to all MySQL clients [client] port = 3306 socket = /var/run/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server [mysqld] port = 3306 socket = /var/run/mysql/mysql.sock skip-locking
default-character-set = utf8 default-collation = utf8_general_ci character-set-server = utf8 collation-server = utf8_general_ci
###key_buffer = 384M key_buffer = 256M
max_allowed_packet = 1M table_cache = 512 sort_buffer_size = 2M read_buffer_size = 2M read_rnd_buffer_size = 8M myisam_sort_buffer_size = 64M thread_cache_size = 500 ###8 query_cache_size = 32M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 ###max_connections = 500 max_connections = 850
group_concat_max_len = 1048576 ##key_cache_block_size = 1M
ft_min_word_len = 1 ft_max_word_len = 99 ##ft_stopword_file = '/usr/local/etc/mysql.stop'
#skip-networking
log-bin=mysql-bin
expire_logs_days = 4 server-id = 1
[mysqldump] quick max_allowed_packet = 16M
[mysql] no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates
[isamchk] key_buffer = 256M sort_buffer_size = 256M read_buffer = 2M write_buffer = 2M
[myisamchk] key_buffer = 256M sort_buffer_size = 256M read_buffer = 2M write_buffer = 2M
[mysqlhotcopy] interactive-timeout