Problema ao configurar tabelas de sistema padrão Mysql / Mariadb (Instalação de tabelas de sistema com falha!)

0

Sou relativamente novo no Ubuntu e atualmente preciso de ajuda para entender esse erro.

A partir de agora, estou trabalhando em um servidor com o qual hospedar um sites WordPress usando este tutorial: link Atualmente estou preso em tentar configurar as tabelas de sistema padrão para MariaDB / Mysql (?) (Eu também gostaria muito de saber se alguém poderia ajudar a lançar alguma luz sobre o que eu estou realmente tentando alcançar aqui, estou tentando o meu melhor para seguir tudo, mas Ainda acho muito confuso).

Depois de instalar o MariaDB usando as instruções do site deles: link e criei uma senha de root (para mariadb, não o servidor real), sempre que eu tento executar: sudo mysql_install_db i recebo essa mensagem de erro:

Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
2017-08-30 11:37:39 140643689761024 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-1~xenial) starting as process 2161 ...

Installation of system tables failed!  Examine the logs in
/var/lib/mysql for more information.

The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:

    shell> /usr/scripts/scripts/mysql_install_db --defaults-file=~/.my.cnf

You can also try to start the mysqld daemon with:

    shell> /usr/sbin/mysqld --skip-grant --general-log &

and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /usr/bin/mysql -u root mysql
    mysql> show tables;

Try 'mysqld --help' if you have problems with paths.  Using
--general-log gives you a log in /var/lib/mysql that may be helpful.

The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria

Please check all of the above before submitting a bug report
at http://mariadb.org/jira

Eu não sei o que está causando isso, eu já tentei reinstalar o MariaDB várias vezes sem availl, e também parece que o arquivo .my.cnf parece estar faltando.

Se alguém pudesse me ajudar a resolver este problema eu ficaria muito grato!

    
por Emiel van den Brink 30.08.2017 / 10:14

0 respostas