Installation mysql-5.7.12-winx64 auf Windows Server 2016

jan99

Benutzer
Beiträge
14
Moin!

ich soll auf einem Windows Server 2016 mysql installieren und habe mir die Version mysql-5.7.12-winx64 besorgt.

Als Grundlage für die Installation orientiere ich mich an der Seite MySQL Datenbank Server auf Windows installieren.

Ich bin bei dem Schritt

mysqld --initialize

angekommen.

Meine erste Ausführung wurde verweigert, weil ich nicht vollwertiger Admin bin (nur lokaler Admin).

Die Ini ist um

# setzen des Basisverzeichnisses = Installationsverzeichnis
basedir = "c:/mysql"
# setzen des Datenverzeichnisses
datadir = "c:/mysqldata/"


ergänzt.

Es kommt aber folgende Fehlermeldung

2021-07-01T07:27:19.049471Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-07-01T07:27:19.049471Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2021-07-01T07:27:19.049471Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2021-07-01T07:27:19.080722Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
2021-07-01T07:27:19.127598Z 0 [ERROR] Aborting

Ich verstehe zum einen die Fehlermeldung nicht und weiss nicht was ich nun machen soll.

Kann mir jemand weiterhelfen?

Jan
 
Werbung:
Ich habe mir gerade das Datenverzeichnis nochmal angesehen und eine *.err gefunden.

Darin steht:

2021-07-01T07:23:13.660910Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-07-01T07:23:13.660910Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2021-07-01T07:23:13.660910Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2021-07-01T07:23:13.676520Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2021-07-01T07:23:14.436972Z 0 [Warning] InnoDB: New log files created, LSN=45790
2021-07-01T07:23:14.659633Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2021-07-01T07:23:14.857847Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 33022de9-da3d-11eb-87bc-00155d0ac84c.
2021-07-01T07:23:14.873483Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2021-07-01T07:23:14.873483Z 1 [Note] A temporary password is generated for root@localhost: XXXXXXXXXX

Da steht zwar etwas von den Rechten prüfen, aber es wurde ja im Grunde schon mit "vollen" Adminrechten die Initalsierung ausgeführt.

Gruß Jan
 
Diese Rückmeldung habe ich bekommen:

No, that link only says which versions that documentation was *tested* with. Not which exact version you need. to have

Gruß Jan
 
Werbung:
Zurück
Oben