Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Has anyone seen this before?

[host@user init.d]$ mysqld stop
mysqld: Too many arguments (first extra is 'stop').
Use --help to get a list of available options
[host@user init.d]$ mysqld restart
[host@user init.d]$ mysqld start --user=mysql &
[1] 6782
[host@user init.d]$ mysqld: Too many arguments (first extra is 'start').
Use --help to get a list of available options

[1]+ Exit 1 mysqld start --user=mysql

Any straightforward reason for this to happen?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Try calling which mysqld and see which file is executed by you. I think it will be something like /usr/bin/mysqld or /usr/sbin/mysqld.

The program you want to call is /etc/init.d/mysqld, or /etc/init.d/mysql, or similar.

share|improve this answer
    
ooops.. naive me.. that's it. thanks. –  filippo Oct 28 '10 at 9:51

Your Answer

 
discard

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.