You are not logged in.

#1 2015-02-07 04:05:46

whitetimer
Member
Registered: 2010-05-23
Posts: 207

[SOLVED] ... Mysql Error

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

#2 2015-02-07 04:16:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ... Mysql Error

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...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-02-07 04:46:51

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [SOLVED] ... Mysql Error

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

#4 2015-02-07 04:50:33

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: [SOLVED] ... Mysql Error

what does

whereis mysql

repots?

Offline

#5 2015-02-07 05:11:25

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [SOLVED] ... Mysql Error

whereis mysql returns

mysql: /usr/lib/mysql /etc/mysql /usr/share/mysql

mysqld.service is started ok, but unable to run mysql_secure_installation

Offline

Board footer

Powered by FluxBB