Line 45: |
Line 45: |
| | | |
| <nowiki> | | <nowiki> |
− | [mariadbd]
| + | [mariadbd] |
− | datadir=/opt/rh/mariadb55/root/var/lib/mysql
| + | datadir=/opt/rh/mariadb55/root/var/lib/mysql |
− | socket=/var/lib/mysql/mariadb55.sock
| + | socket=/var/lib/mysql/mariadb55.sock |
− | port=3307
| + | port=3307 |
− | # Disabling symbolic-links is recommended to prevent assorted security risks
| + | # Disabling symbolic-links is recommended to prevent assorted security risks |
− | symbolic-links=0
| + | symbolic-links=0 |
− | # Settings user and group are ignored when systemd is used.
| + | # Settings user and group are ignored when systemd is used. |
− | # If you need to run mysqld under different user or group,
| + | # If you need to run mysqld under different user or group, |
− | # customize your systemd unit file for mysqld according to the
| + | # customize your systemd unit file for mysqld according to the |
− | # instructions in http://fedoraproject.org/wiki/Systemd
| + | # instructions in http://fedoraproject.org/wiki/Systemd |
− |
| + | |
− | [mariadbd_safe]
| + | [mariadbd_safe] |
− | log-error=/var/log/mariadb55-mariadbd.log
| + | log-error=/var/log/mariadb55-mariadbd.log |
− | pid-file=/opt/rh/mariadb55/root/var/run/mysqld/mariadbd.pid
| + | pid-file=/opt/rh/mariadb55/root/var/run/mysqld/mariadbd.pid |
− | </nowiki>
| + | </nowiki> |
| | | |
| ===Start/Stop MariaDB=== | | ===Start/Stop MariaDB=== |
Line 72: |
Line 72: |
| Issue the following commands as root: | | Issue the following commands as root: |
| ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99mariadb55-mariadbd | | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99mariadb55-mariadbd |
− | chkconfig maridb55-mysqld on | + | chkconfig mariadb55-mysqld on |
− | config set maria55-mysqld service | + | config set mariadb55-mysqld service |
| config setprop mariadb55-mysqld status enabled | | config setprop mariadb55-mysqld status enabled |
| The application will now automatically start at boot time as a system service. | | The application will now automatically start at boot time as a system service. |