Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Location
    St.Petersburg, Russia
    Posts
    19

    Unanswered: How do I restart a MySQL server in Linux?

    Hi!

    This question might seem to be silly, but I searched in the documentation and didn't found an answer, so I'm asking here . How do I restart a server in Linux? I can restart it in phpMyAdmin, I even did that, but then when I looked at its status I found its uptime and it said as if I hadn't restarted it.

    Why do I need to restart it?

    Because I changed the configuration file /etc/my.cnf and put that string there:

    Code:
    sort_buffer_size=128M
    By the way, after several restarting in phpMyAdmin it still showed the old sort_buffer_size value in the system variables, so I don't think phpMyAdmin restart the it properly, correct me if I'm wrong.

  2. #2
    Join Date
    Jul 2004
    Posts
    3
    have you tried something like:

    /etc/rc.d/init.d/mysqld restart

    that's how i restart mine via command line.

  3. #3
    Join Date
    Aug 2004
    Posts
    2

    mysql

    you can try

    service mysql stop
    service mysql start

    regards
    Pradeep George
    DBA,
    US Technology

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •