If Not True Then False

Install MariaDB 10.2 on Fedora 26/25, CentOS/RHEL 7.3/6.9 - Comment Page: 2

MariaDB is a binary drop in replacement for MySQL database server. This means that for most cases, you can just uninstall MySQL and install MariaDB and you are good to go. Why MariaDB? MariaDB is totally open source version of MySQL It works just like MySQL and is compatible with MySQL setups Fedora and Red Hat/CentOS is moving to use MariaDB from Fedora 19/RHEL 7/CentOS 7 versions This is...
Categories:
Tagged with:

28 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

ncl

when i’m on “Enable Remote Connection to MariaDB Server –> Open MySQL Port (3306) on Iptables Firewall (as root user again)” at point 1.3 i run “service iptables restart” and i got this:

[root@localhost sysconfig]# service iptables restart
Redirecting to /bin/systemctl restart iptables.service
Job for iptables.service failed. See ‘systemctl status iptables.service’ and ‘journalctl -xn’ for details.

i fell stuck, i tryed lot’s of suggestion from the web but no one worked. how do i go on?

reply Reply
JR

Hi ncl,

Could you post output of following commands:


uname -a

systemctl status iptables.service

firewall-cmd --state
reply Reply
Siddhartha Kulshrestha

I am unable to start the service of mariadb it gives me following error whenever i am trying to start

root@SATURDAY Sidkulshrestha]# systemctl start mariadb.service
Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details.

and when i try to log in it gives following error

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2 “No such file or directory”)

please help

reply Reply