Welcome to Ebugg-i.com

Thanks for coming to Ebugg-i.com.

Ad blocker detected


Our website is made possible by displaying online advertisements to our visitors. We need to pay our bills (hosting charges) and we can't do that for free. Please consider supporting us by disabling your ad blocker on our website and whitelist our website.
Please disable ad blocker and reload this web page
Close this message
Home » Technology » Howto

How to Enable, Start, Restart and Stop MySql in Fedora 16 ?

Submitted by Vidhu on Dec 31 2011 Views: 7239 | Subscribe

How to Enable, Start, Restart and Stop MySql in Fedora 16 ?How to Enable/Start mysqld ?

1. Enable MySql using systemctl

** systemctl - Control the systemd system and service manager

[root@stk /]# su
[root@stk /]# systemctl enable mysqld.service


2. Start mysqld using this command "systemctl start mysqld.service"

[root@stk /]# systemctl start mysqld.service
Check the status of mysqld service using "systemctl status mysqld.service"

How to Check mysqld Status ?

[root@stk ~]# systemctl status mysqld.service
mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; disabled)
Active: active (running) since Sat, 31 Dec 2011 18:26:00 +0400; 3h 0min ago
Main PID: 1791 (mysqld)
CGroup: name=systemd:/system/mysqld.service
* 1791 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/...
 

How to Restart mysqld ?

Restart mysqld service : "systemctl restart mysqld.service"

[root@stk /]# systemctl restart mysqld.service
Stop mysqld service : "systemctl restart mysqld.service"

[root@stk /]# systemctl stop mysqld.service

Articles Related to Linux :

Source: http://www.ebugg-i.com/technology/howto/how-to-enable-start-restart-stop-httpd-in-fedora-16.html


Tags: How to Enable mysqld on Fedora 16, Start mysqld, mysqld start using systemctl, stop mysqld , how to mysqld start
Bitdefender Antivirus for Mac and PC

Get email updates. Virus Removal Tips, News, How to, Threat Alerts.

Leave a comment!