Go Back   Web Server Hosting Forum by BODHost > Support > Linux Server Hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-20-07, 11:58
BOD Member
 
Join Date: Feb 2007
Location: Simi Valley, CA
Posts: 2
Send a message via AIM to thanovia Send a message via Yahoo to thanovia
Smile General questions about Linux, MySQL, and how they relate to IIS and MSSQL

Recently I switched jobs from a Windows environment to a Linux environment. The MySQL server works great 99% of the time, but occasionally has lag. On MSSQL I can recycle the application pool to give it a jump-start and everything works fine. So far I haven't been able to find something similar with MySQL. I know there has to be something like this because restarting the service every couple days probably isn't the best idea but it's all I have right now.

Any ideas?

Currently I connect to the db server through command line and tell the os this:

/etc/init.d/mysqld restart

Something else that's command-line would be great as I could script it and just run it when needed. Thanks for the time it took to read this!
Reply With Quote
  #2 (permalink)  
Old 02-23-07, 12:53
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

If you are the root user then following 2 commands should be helpful for you :-

mysqladmin flush-privileges

or

mysqladmin refresh

flush-privileges : Reload grant tables (same as reload)
refresh : Flush all tables and close and open logfiles
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #3 (permalink)  
Old 02-26-07, 19:10
BOD Member
 
Join Date: Feb 2007
Location: Simi Valley, CA
Posts: 2
Send a message via AIM to thanovia Send a message via Yahoo to thanovia
Talking Thank you admin!

Thank you very much, I'll use that.

I didn't know where else to go to find that answer and didn't have time to properly research it so this saves me a good deal of time.
Reply With Quote
  #4 (permalink)  
Old 02-27-07, 05:18
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

Hello

In case in future if you require any assistance from us, please feel free to contact us.
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 03:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.