news
Gaming Servers Page Already Available. See Live Demo
Locale Settings
My Hostarina
logo
  • Web Hosting
    Shared Hosting
    Shared Hosting

    For Small to Medium Websites

    Unlimited Hosting
    Unlimited Hosting

    For Blogs, Wordpress, Ecommerce Websites

    Free Website Migration
    1. Buy any web hosting package
    2. Request a site migration from your account
    3. Sit back and let us handle things at a time that suits you
    Get Started

  • Servers
    High Performance VPS
    High Performance VPS

    Your own VPS server to securely run the application with peak performance.

    Cloud VPS Servers
    Cloud VPS Servers

    Your Own Virtual Storage Server for using as Files storage space

    VPS Simple. Fast. Reliable

    When purchasing a VPS, it comes with a list of Operating Systems templates, all Linux based, which can be installed in a couple of clicks, saving you the hassle of doing it yourself.

  • SSL Certificates
    Rapid SSL
    Geo Trust SSL
    Symantec SSL
    Thawte SSL
    Comodo SSL
    Sectigo SSL
    Digicert SSL
    cWatch SSL
    Protect Your Brand

    Trust is everything. And, that's never been more true than in today's world, where there are now over 4 million data breaches per day. So, how do you ensure that your reputation and trustworthiness aren't at risk? Implement proper security protections that users can see and feel. When consumers trust your security, they trust your brand.

    SSL Installation

  • Domains
    My Domains
    My Domains

    Your Domains with us

    Domain Register
    Domain Register

    Find the perfect domain name.

    Domain Whois
    Domain Whois

    Lookup tool to find WHOIS information.

    Domains Prices
    Domains Prices

    Domain Pricing List

    Domain Transfer
    Domain Transfer

    Want to transfer domain to Hostarina?

  • Billing
    Payment Options
    Payment Options

    Our Supported Payment Options

    Affiliates
    Affiliates

    Latest News about our services

  • Support
    Website Migration
    Website Migration

    Buy Web hosting and Request a free website migration

    Announcements
    Announcements

    Latest News about our services

    Knowledgebase
    Knowledgebase

    Knowledgebase Articles to solve your problems

    Network Status
    Network Status

    Our Servers and Services Status information

How to restart MySql Server on linux using SSH command line
Useful : 0
Views : 0


  • How To change SSH Port using WHM or CSF
  • How to restart MySql Server on linux using SSH command line

How can i restart MySql server using SSH command line on Linux or Unix Systems?

Follow the Instructions to restart, stop and start the MySql server on a Linux or Unix Systems as per Linux/Unix Variants.

CentOS/RHEL/Fedora/Scientific Linux versions 4.x,5.x,6.x or Older Versions

Example is mention below:

### To start ###
service mysqld start
# OR
/etc/init.d/mysqld start
 
### To stop ###
service mysqld stop
# OR
/etc/init.d/mysqld stop
 
### To restart ###
service mysqld restart
# OR
/etc/init.d/mysqld restart

CentOS/RHEL/Fedora/Scientific Linux version 7.x or newer users The syntax is as follows to start mariadb/mysql server:

##  mariadb ##
systemctl start mariadb
## mysql 
systemctl start mysqld

The syntax is as follows to stop mariadb/mysql server:

##  mariadb ##
systemctl stop mariadb
## mysql 
systemctl stop mysqld

The syntax is as follows to restart mariadb/mysql server:

##  mariadb ##
systemctl restart mariadb
## mysql 
systemctl restart mysqld

Debian/Ubuntu Linux users
The syntax is as follows to start/stop/restart mysql server:

#### To start ####
/etc/init.d/mysql start
# OR
service mysql start
 
#### To stop ####
/etc/init.d/mysql stop
# OR
service mysql stop
 
#### To restart ####
/etc/init.d/mysql restart
# OR
service mysql restart

FreeBSD Unix server user

To start the Mysql server type:

# /usr/local/etc/rc.d/mysql-server start

To restart the Mysql server type:

# /usr/local/etc/rc.d/mysql-server restart

To stop the Mysql server type:

# /usr/local/etc/rc.d/mysql-server stop
Domains
  • Register a New Domain
  • Transfer Domain to Us
Support
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
Servers
  • High Performance VPS
  • Virtual Dedicated Server
  • Dedicated Servers
  • VPS Storage Servers
Company
  • About Us
  • Privacy Policy
  • Unlimited Policy
  • Acceptable Use Policy
  • Anti-Spam Policy
  • Refund Policy
  • Terms of services
  • Copyright © 2022 hostarina. All Rights Reserved.