Search code examples
mysqlcentosmysql-error-1064

Cannot start MySQL under CentOS


I have got installed MySQL by default in CentOS 7. It is allowed to start with Firewall and etc.

But I cannot start it using

sudo /sbin/service mysqld start

Error

...No search file or directory

All links about this subject dont help.

Any clue how to start it?

P.S. I found where is mysqld but when I start it I see many errors.

enter image description here

enter image description here


Solution

  • As I discovered MariaDB was not installed properly.

    Once it is installed I could access via mysql.