vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   How to properly restart mysql (https://vborg.vbsupport.ru/showthread.php?t=176296)

ssslippy 04-16-2008 05:22 AM

How to properly restart mysql
 
What is the proper way to restart mysql without screwing up current database queries.

SEOvB 04-16-2008 06:50 AM

service mysql restart

Paul M 04-16-2008 07:04 AM

I think you mean service mysqld restart

Dismounted 04-16-2008 07:11 AM

I always forget to put the "d" on at the end when I'm going through commands fast :p. Another method is:
Code:

/etc/init.d/mysqld restart

SEOvB 04-16-2008 08:07 AM

Quote:

Originally Posted by Paul M (Post 1491901)
I think you mean service mysqld restart

Sure if the server is setup to recognize mysqld rather then mysql.

On a sidenote, is mysqld the correct way for the server to recongnize it? I've got mine set for service mysql restart and that works, and mysqld is unrecongized service.

:confused:

Marco van Herwaarden 04-16-2008 08:35 AM

It all depends on how the server is setup and the OS used.

mlx 04-16-2008 10:21 AM

I believe the stock CentOS RPMs setup the service as "mysqld" and the RPMs from mysql.com will set it up as "mysql", or was it the other way around?

Anyway, both ways should be fine and it really doesn't matter, just a question of which binary you use I guess.

Paul M 04-16-2008 10:24 AM

Its always been mysqld on servers I have used. :)

wolfstream 04-22-2008 01:01 PM

Quote:

Originally Posted by FRDS (Post 1491898)
service mysql restart

Quote:

Originally Posted by Paul M (Post 1491901)
I think you mean service mysqld restart

Either option will work. In some it's mysqld, in some it's mysql


All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00939 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete