FreeBSD 8.1-RELEASE-p2 #0: Mon Feb 21 16:29:36 EET 2011 @hospmc.net:/usr/src/sys/amd64/compile/HAMMER
MySQL Version: '5.5.9' устанавил из портов. /usr/ports/databases/mysql55-server
Код: Выделить всё
/var/db/mysql/>ls -la
drwxr-xr-x 7 mysql mysql 512 Feb 24 16:03 .
drwxr-xr-x 10 root wheel 512 Feb 24 15:28 ..
-rw-rw---- 1 mysql mysql 5242880 Feb 24 16:03 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Feb 24 15:58 ib_logfile1
-rw-rw---- 1 mysql mysql 18874368 Feb 24 16:00 ibdata1
-rw-r----- 1 mysql mysql 1243 Feb 24 15:35 my.cnf
drwx------ 2 mysql mysql 2048 Feb 24 15:58 mysql
-rw-rw---- 1 mysql mysql 3548 Feb 24 16:03 ns.xxxxx.net.err
drwx------ 2 mysql mysql 1024 Feb 24 15:58 performance_schema
drwx------ 2 mysql mysql 512 Feb 24 15:58 test
Код: Выделить всё
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
#skip-networking
# log-bin=mysql-bin
binlog_format=mixed
server-id = 1
innodb_data_home_dir = /var/db/mysql
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /var/db/mysql
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
#safe-updates
[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
Код: Выделить всё
110224 15:58:17 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
110224 15:58:17 [Warning] You need to use --log-bin to make --binlog-format work.
110224 15:58:17 InnoDB: The InnoDB memory heap is disabled
110224 15:58:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110224 15:58:17 InnoDB: Compressed tables use zlib 1.2.3
110224 15:58:17 InnoDB: Initializing buffer pool, size = 16.0M
110224 15:58:17 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file /var/db/mysql/ibdata1 did not exist:
InnoDB: a new database to be created!
110224 15:58:17 InnoDB: Setting file /var/db/mysql/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110224 15:58:17 InnoDB: Log file /var/db/mysql/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /var/db/mysql/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
110224 15:58:17 InnoDB: Log file /var/db/mysql/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /var/db/mysql/ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
110224 15:58:17 InnoDB: Waiting for the background threads to start
110224 15:58:18 InnoDB: 1.1.5 started; log sequence number 0
110224 15:58:18 [Note] Event Scheduler: Loaded 0 events
110224 15:58:18 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.5.9' socket: '/tmp/mysql.sock' port: 3306 Source distribution
Код: Выделить всё
110224 16:00:43 [Note] /usr/local/libexec/mysqld: Normal shutdown
110224 16:00:43 [Note] Event Scheduler: Purging the queue. 0 events
110224 16:00:43 InnoDB: Starting shutdown...
110224 16:00:44 InnoDB: Shutdown completed; log sequence number 1595675
110224 16:00:44 [Note] /usr/local/libexec/mysqld: Shutdown complete
110224 16:00:44 mysqld_safe mysqld from pid file /var/db/mysql/ns.xxxxxxx.pid ended
/usr/local/etc/rc.d/mysql-server onestart
Код: Выделить всё
110224 16:03:38 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
110224 16:03:38 [Warning] You need to use --log-bin to make --binlog-format work.
110224 16:03:38 InnoDB: The InnoDB memory heap is disabled
110224 16:03:38 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110224 16:03:38 InnoDB: Compressed tables use zlib 1.2.3
110224 16:03:38 InnoDB: Initializing buffer pool, size = 16.0M
110224 16:03:38 InnoDB: Completed initialization of buffer pool
110224 16:03:38 InnoDB: highest supported file format is Barracuda.
110224 16:03:38 - mysqld got signal 4 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 134025 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
110224 16:03:38 mysqld_safe mysqld from pid file /var/db/mysql/ns.xxxxxx.pid ended
