You are not logged in.
Pages: 1
Just installed MariaDB and when trying to run mysql_secure_installation I am getting this error message
FATAL ERROR: Could not find mysql
The following directories were searched:
/usr/bin
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.Any suggestions ?
Cheers
Last edited by whitetimer (2015-02-07 09:19:26)
Offline
Did you enable the service? What does pacman tell you about the location of the binary?
What else have you done to troubleshoot the problem yourself?
Moving to NC...
Offline
Yes service is enable. I've removed the installation, deleted mysql user and group, and all traces of mysql, before reinstalling. I dont have a my.cnf file so ive noticed.
Offline
what does
whereis mysqlrepots?
Offline
whereis mysql returns
mysql: /usr/lib/mysql /etc/mysql /usr/share/mysqlmysqld.service is started ok, but unable to run mysql_secure_installation
Offline
Pages: 1