Mariadb secure_installation, "cant find mysql" but it exists & works?
This is a fresh, binary installation of mariadb-10.0.17 on Centos 6.6
I have mariadb installed under /tux/apps/mariadb-10.0/, it starts and runs fine. The crazy problem is when I try to run mysql_secure_installation: Code:
I shouldn't really need the "--basedir" as /etc/my.cnf points to my config file where base & data-dir are set? But I do - "service mariadb.server start" however obviously reads from /etc/my.cnf! A few things checked: Code:
$ bin/my_print_defaults (I know how to manually secure it, but I don't like errors like these. Something is not right and I want to know what!) |
Hi pingu,
Please post the output of only: ]#mysql_secure_installation note: please don't modify the output in any way. Also don't add any paths to it. Thanks. |
For some reason I need to add the --basedir even though /etc/my.cnf has correct settings, otherwise wrong path is searched.
Here's the output, with & without --basedir: Code:
[pingu@tx-c1 bin]$ sudo ./mysql_secure_installation Code:
[pingu@tx-c1 bin]$ ./mysql_secure_installation --basedir=/tux/apps/mariadb-10.0 |
--basedir=/tux/apps/mariadb-10.0
that would be wrong that states that you made a folder called "tux" on the ROOT tree "/" /boot /bin /etc /usr /var /tux ?????????????? the owner of the folder MUST be root and only ROOT can edit that folder instead of a more standard location /usr/bin /usr/share/apps/mariadb if you did make a "tux" folder on the root tree is it is the system $PATH ? it is a very NON standard location when you type Code:
echo $PATH |
All times are GMT -5. The time now is 05:39 AM. |