[MCOL-2251] non-root installation with custom path failed Created: 2019-03-22  Updated: 2020-08-25  Resolved: 2019-07-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.2.2
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Richard Stracke Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

According KB a custom path can defined with

export COLUMNSTORE_INSTALL_DIR
export LD_LIBRARY_PATH

https://mariadb.com/kb/en/library/installing-and-configuring-mariadb-columnstore/#running-postconfigure-as-non-root-user

but this leads ti following errors.

/home/mysql/test/mariadb/columnstore/mysql/mysql-Columnstore: line 89: /home/mysql/mariadb/columnstore/bin/getConfig: No such file or directory
/home/mysql/test/mariadb/columnstore/mysql/mysql-Columnstore: line 245: my_print_defaults: command not found
/home/mysql/test/mariadb/columnstore/mysql/mysql-Columnstore: line 357: cd: /home/mysql/mariadb/columnstore/mysql: No such file or directory

For some cases the expoeted variables will not be respected in every case.

Workaround:
include the export commands in
.bash_profile/.bashrc

Export command set all variables for current shell and all processes from current shell.

So some processes / shell will not be initiated from the current shell and
the env variables fall back to default values.


Generated at Thu Feb 08 02:34:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.