Erro ao inicializar o mysql

1

Estou tentando instalar e configurar o mysql no meu kubuntu 16.04. Mas quando eu executo bin/mysqld --initialize --user=mysql , recebo a seguinte mensagem de erro:

mysqld: Can't create directory '/usr/local/mysql/data/' (Errcode: 2 -No such file or directory)
2017-02-16T20:49:13.608398Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-02-16T20:49:13.608691Z 0 [ERROR] Can't find error-message file '/usr/local/mysql/share/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.
2017-02-16T20:49:13.610794Z 0 [ERROR] Aborting

Alguma ideia do porquê?

    
por Garnbutik 16.02.2017 / 22:03

0 respostas