Comments - MariaDB refuses to stay confined to install directory

10 years, 3 months ago Elena Stepanova
This comment has the status of 'removed' and can only be seen by you.

You are using command-line options for mysqld_safe in a wrong order here:

$ bin/mysqld_safe --basedir=/home/user/web/servers/mariadb --defaults-file=/home/user/web/servers/mariadb/my.cnf

defaults-file should be the very first option on the command line (see the documentation). The way you put it now, mysqld_safe simply ignores the defaults file and tries to use the socket location specified in one of the cnf files in default locations. Try to do it this way instead:

$ bin/mysqld_safe --defaults-file=/home/user/web/servers/mariadb/my.cnf --basedir=/home/user/web/servers/mariadb
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.