ho scaricato mysql-5.7.9-winx64.zip
e quando provo a correre mysqld
ho ottenuto questo errore:Problema durante l'esecuzione di mysqld
E:\Softwares\mysql-5.7.9-winx64\bin>mysqld
mysqld: Could not create or access the registry key needed for the MySQL application
to log to the Windows EventLog. Run the application with sufficient
privileges once to create the key, add the key manually, or turn off
logging for that application.
mysqld: Can't change dir to 'E:\Softwares\mysql-5.7.9-winx64\data\' (Errcode: 2 - No such file or directory)
2015-11-13T10:45:09.715411Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_ti
mestamp server option (see documentation for more details).
2015-11-13T10:45:09.731411Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of
generated files. Consider setting it to a valid, non-empty path.
2015-11-13T10:45:09.732411Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2015-11-13T10:45:09.732411Z 0 [Note] mysqld (mysqld 5.7.9) starting as process 3532 ...
2015-11-13T10:45:09.864419Z 0 [Warning] Can't create test file E:\Softwares\mysql-5.7.9-winx64\data\yous-PC.lower-test
2015-11-13T10:45:09.864419Z 0 [Warning] Can't create test file E:\Softwares\mysql-5.7.9-winx64\data\yous-PC.lower-test
2015-11-13T10:45:09.864419Z 0 [ERROR] failed to set datadir to E:\Softwares\mysql-5.7.9-winx64\data\
2015-11-13T10:45:09.865419Z 0 [ERROR] Aborting
2015-11-13T10:45:09.865419Z 0 [Note] Binlog end
2015-11-13T10:45:09.945424Z 0 [Note] mysqld: Shutdown complete
Poiché l'errore sembra essere correlato ai privilegi/autorizzazioni, hai provato a "eseguire come amministratore"? Non sono molto esperto riguardo le autorizzazioni sulle macchine Windows ... ma penso che "esegui come amministratore" sia simile a un comando linux in esecuzione su "sudo". – Lix
Inoltre, gli errori indicano che non si è in grado di individuare una determinata cartella (simile alla cartella dati del database): ''E: \ Software \ mysql-5.7.9-winx64 \ data \''. Esiste questa cartella? – Lix
Ti preghiamo di considerare ciascuno dei messaggi di riscaldamento/errore che hai fornito - ci sono molte informazioni all'interno dei messaggi. – Lix