VERIO.COM CHAT CONTACT SUPPORT

How to restart MySQL on VPS v1 Unix via the command line

To start and stop MySQL, run the following from your VPS’s command prompt (replace user.pid with the actual file name). If you are using the sh ~/etc/rc command to start MySQL, realize it will also start whatever other programs that are listed there in the rc file.

VPS v1 - Start

nohup /usr/local/bin/daemon -f /usr/local/bin/virtual /usr/local/MySQL/bin/safe_mysqld --pid-file=/usr/local/MySQL/var/user.pid &
or 

sh ~/etc/rc
VPS v1 - Stop
mysqladmin –u root –p shutdown 

VPS v1 - Start

/usr/local/etc/rc.d/MySQL-server.sh start 

VPS v1 - Stop

/usr/local/etc/rc.d/MySQL-server.sh stop 




Article Details

Last Updated
5th of January, 2012

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

Attachments

No attachments were found.

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue