Changes

Jump to navigation Jump to search
141 bytes added ,  23:31, 11 January 2014
Line 98: Line 98:  
chown mariadb:mariadb /var/run/mariadb</nowiki>
 
chown mariadb:mariadb /var/run/mariadb</nowiki>
   −
====/etc/init.d/mariadb====
+
====/etc/rc.d/init.d/mariadb====
I was unable to make the 'mysqld_save' command line from the howto work.  Where the howto wanted this command:
+
After adding '''pid-file = /var/run/mariadb/mariadb.pid''' in /opt/mariadb-data/my.cnf the howto command line worked.
 +
 
 +
<strike>I was unable to make the 'mysqld_safe' command line from the howto work.  Where the howto wanted this command:
 
  $bindir/mysqld_safe --defaults-file=/opt/mariadb-data/my.cnf --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &
 
  $bindir/mysqld_safe --defaults-file=/opt/mariadb-data/my.cnf --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &
   Line 105: Line 107:  
  $bindir/mysqld_safe --defaults-file=/opt/mariadb-data/my.cnf --datadir="/opt/mariadb-data" --pid-file="/var/run/mariadb/mariadb.pid" $other_args >/dev/null 2>&1 &
 
  $bindir/mysqld_safe --defaults-file=/opt/mariadb-data/my.cnf --datadir="/opt/mariadb-data" --pid-file="/var/run/mariadb/mariadb.pid" $other_args >/dev/null 2>&1 &
   −
If I use the line suggested in the HOWTO, mariadb never starts (although it reports starting on the command line, it records an error in /opt/mariadb-data/<hostname>.err)
+
If I use the line suggested in the HOWTO, mariadb never starts (although it reports starting on the command line, it records an error in /opt/mariadb-data/<hostname>.err)</strike>
    
====set mariadb root password====
 
====set mariadb root password====

Navigation menu