Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Mysql server running on Mac OS X the my.cnf file had max_connections = 10000000

client got the error 'max connections reached' restarted server, now it won't start the mysql services

bellow is an error when running mysqld_safe

i set the max_connections = 100, but the server will still not start the SQL services

EWELS:bin administrator$ sudo mysqld_safe
110419 14:04:15 [ERROR] /usr/libexec/mysqld: unknown option '--512'
Starting mysqld daemon with databases from /var/mysql
STOPPING server from pid file /var/mysql/
110419 14:04:15  mysqld ended

any help is appreciated thanks

share|improve this question
up vote 0 down vote accepted

problem fixed - jumped the gun with question again

max_connections was 1000000

whenever i changed this it didnt work

int he end i renamed the my.cnf file to my.cnf.back

ran sudo mysqld_safe and it created a new config file and restored all defaults - services started as expected.

thanks anyway

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.