Hallo alle zusammen,
ich habe mir jetzt ganz neu MySQL 8 auf Leap 15 installiert.
Nach dem ich mir mit
das Passwort geholt habe, kann ich mich auch anmelden.
Weiter komme ich allerdings nicht mehr.
Die Abfrage nach dem Status wird wie folgt beantwortet.
Folge ich dem "MySQL 8.0 Reference Manual" erhalte ich folgende Anweisung.
Auch Versuche mit
oder
sind nicht wirklich effektiv.
Aufgefallen ist mir, dass die Datei "/etc/my.cnf" total anders aussieht wie meine alten Versionen
auch der Ordner "my.cnf.d/" ist leer im gegensatz zu Mysql 5.7.
Bestimmt kann mir jemand sagen, wie ich weiter vorgehen kann um MySQL 8.0 zu nutzen und
wie wird MySQL 8.0 konfiguriert?
Das Manual auf deutsch wäre für mich sehr hilfreich und einfacher.
Schöne Grüße
daddy.k
ich habe mir jetzt ganz neu MySQL 8 auf Leap 15 installiert.
Nach dem ich mir mit
Code:
grep 'temporary password' /var/log/mysql/mysqld.log
Weiter komme ich allerdings nicht mehr.
Die Abfrage nach dem Status wird wie folgt beantwortet.
Code:
mysql> status;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
Folge ich dem "MySQL 8.0 Reference Manual" erhalte ich folgende Anweisung.
Code:
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
Auch Versuche mit
Code:
mysql> ALTER USER 'root'@'localhost' INDETIFIED BY PASSWORD('roland2012');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDETIFIED BY PASSWORD('roland2012')' at line 1
Code:
mysql> ALTER USER 'root'@'localhost' INDENTIFIED BY PASSWORD 'roland2012';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDENTIFIED BY PASSWORD 'roland2012'' at line 1
Aufgefallen ist mir, dass die Datei "/etc/my.cnf" total anders aussieht wie meine alten Versionen
Code:
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#
# Remove leading # to revert to previous value for default_authentication_plugin,
# this will increase compatibility with older clients. For background, see:
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
# default-authentication-plugin=mysql_native_password
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mysql/mysqld.log
pid-file=/var/run/mysql/mysqld.pid
my.cnf lines 1-30/30 (END)
auch der Ordner "my.cnf.d/" ist leer im gegensatz zu Mysql 5.7.
Code:
server0:/etc # cd my.cnf.d/
server0:/etc/my.cnf.d # dir
total 0
server0:/etc/my.cnf.d #
Bestimmt kann mir jemand sagen, wie ich weiter vorgehen kann um MySQL 8.0 zu nutzen und
wie wird MySQL 8.0 konfiguriert?
Das Manual auf deutsch wäre für mich sehr hilfreich und einfacher.
Schöne Grüße
daddy.k