Request clarification - restarting mysql with mysqld_safe & (no replies)

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.
Submitted by programmer on Fri, 08/15/2008 - 20:06.

The documentation says to restart mysql, do this #/bin/mysqld_safe &

But when I do that, it says "A process already exists". Am I running it in the wrong place? What am I'm doing wrong? I'm running Fedora Core/CentOS.

I realize that I can run these commands:

# /etc/init.d/mysqld start

# /etc/init.d/mysqld stop

# /etc/init.d/mysqld restart

However, I want to restart using 'mysqld_safe &' because it restarts as a background process.

Any info is appreciated.

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.