Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

Cannot set innodb_buffer_pool_size without mysql crashing (2 replies)

$
0
0
Hi

I have a 32bit centos 5.8 server running mysql 5.0.95

If i try and set the innodb_buffer_pool_size the mysqld service will not start.

I would like to set it to 4G but even if i try 512M the service still crashes.

Below is my copy of the my.cnf

thanks

Tim




[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
port = 3306
skip-external-locking


# Maximum number of connections
max_connections = 2048

# Log slow queries, time threshold set by 'long_query_time',
log_slow_queries = /var/log/mysql/logs/slow-queries.log
long_query_time = 5

# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

#INNODB
innodb_flush_method=O_DIRECT
innodb_flush_log_at_trx_commit=0
#innodb_buffer_pool_size=512M

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>