MySQL - Instalación MySQL Windows10

 
Vista:
sin imagen de perfil
Val: 8
Ha disminuido su posición en 6 puestos en MySQL (en relación al último mes)
Gráfica de MySQL

Instalación MySQL Windows10

Publicado por Rafa (5 intervenciones) el 03/07/2017 17:39:17
Buenas tardes,

Tengo que trabajar para un proyecto con MySQL y estoy teniendo problemas con mi portátil (no así con el sobremesa).

En el portátil tengo Windows 10 y he instalado la última versión de MySQL disponible en la web. Durante la instalación no se inicia el servicio. Me salto el paso y cuando acaba la instalación si intento levantar el servicio me sale este mensaje:

'El servicio MYSQL57 en Equipo local se inició y después se detuvo. Algunos servicios se detienen automáticamente si no son usados por ningún servicio o programa'

¿Alguna pista?¿Algo especial a tener en cuenta para la instalación en Windows 10?

Como os decía en el sobremesa que tiene W7 no he tenido ningún problema.

Gracias,

Rafa
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de xve
Val: 796
Oro
Ha mantenido su posición en MySQL (en relación al último mes)
Gráfica de MySQL

Instalación MySQL Windows10

Publicado por xve (1151 intervenciones) el 03/07/2017 21:12:25
Hola Rafa, revisa el log del MySQL haber si ahi puedes ver alguna cosa?

Tienes antivirus activos o algún firewall que pueda bloquear el puerto?
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil
Val: 8
Ha disminuido su posición en 6 puestos en MySQL (en relación al último mes)
Gráfica de MySQL

Instalación MySQL Windows10

Publicado por Rafa (5 intervenciones) el 03/07/2017 23:01:13
Hola xve,

Gracias por la respuesta.

Tengo como antivirus el Avira que es el mismo que tengo en el sobremesa donde no he tenido problema alguno.

En cuanto a Firewall tengo el de Windows pero tiene creada una regla de entrada llamada Port 3306 que imagino que la habrá creado el instalador.

Por último en el log me sale esto:

2017-07-03T21:03:07.601116Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-07-03T21:03:07.601116Z 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.
2017-07-03T21:03:07.601116Z 0 [Note] C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe (mysqld 5.7.18-log) starting as process 3312 ...
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: Uses event mutexes
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
2017-07-03T21:03:07.601116Z 0 [Note] InnoDB: Number of pools: 1
2017-07-03T21:03:07.616743Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2017-07-03T21:03:07.616743Z 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
2017-07-03T21:03:07.616743Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-07-03T21:03:07.648026Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-03T21:03:07.663620Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-03T21:03:07.663620Z 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-03T21:03:07.741753Z 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2017-07-03T21:03:07.741753Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-07-03T21:03:07.741753Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-07-03T21:03:07.741753Z 0 [Note] InnoDB: Waiting for purge to start
2017-07-03T21:03:07.819921Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 1210918
2017-07-03T21:03:07.819921Z 0 [Note] InnoDB: Loading buffer pool(s) from C:\ProgramData\MySQL\MySQL Server 5.7\Data\ib_buffer_pool
2017-07-03T21:03:07.819921Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2017-07-03T21:03:07.819921Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2017-07-03T21:03:07.819921Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170703 23:03:07
2017-07-03T21:03:07.819921Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-07-03T21:03:07.819921Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2017-07-03T21:03:07.819921Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2017-07-03T21:03:07.819921Z 0 [Note] IPv6 is available.
2017-07-03T21:03:07.835550Z 0 [Note] - '::' resolves to '::';
2017-07-03T21:03:07.835550Z 0 [Note] Server socket created on IP: '::'.
2017-07-03T21:03:07.835550Z 0 [Warning] Failed to open optimizer cost constant tables

2017-07-03T21:03:07.835550Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2017-07-03T21:03:07.835550Z 0 [ERROR] Aborting

2017-07-03T21:03:07.835550Z 0 [Note] Binlog end
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'ngram'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'partition'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'ARCHIVE'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'MyISAM'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2017-07-03T21:03:07.835550Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2017-07-03T21:03:07.851176Z 0 [Note] Shutting down plugin 'InnoDB'
2017-07-03T21:03:07.851176Z 0 [Note] InnoDB: FTS optimize thread exiting.
2017-07-03T21:03:07.851176Z 0 [Note] InnoDB: Starting shutdown...
2017-07-03T21:03:07.976331Z 0 [Note] InnoDB: Dumping buffer pool(s) to C:\ProgramData\MySQL\MySQL Server 5.7\Data\ib_buffer_pool
2017-07-03T21:03:07.976331Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 170703 23:03:07
2017-07-03T21:03:09.288976Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1210937
2017-07-03T21:03:09.288976Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2017-07-03T21:03:09.288976Z 0 [Note] Shutting down plugin 'MEMORY'
2017-07-03T21:03:09.288976Z 0 [Note] Shutting down plugin 'CSV'
2017-07-03T21:03:09.288976Z 0 [Note] Shutting down plugin 'sha256_password'
2017-07-03T21:03:09.288976Z 0 [Note] Shutting down plugin 'mysql_native_password'
2017-07-03T21:03:09.288976Z 0 [Note] Shutting down plugin 'binlog'
2017-07-03T21:03:09.304573Z 0 [Note] C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe: Shutdown complete

A ver si entre todos damos con la tecla.

Gracias,

Rafa
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

Instalación MySQL Windows10

Publicado por Miguel Santana (1 intervención) el 17/03/2021 00:51:00
Tengo la solucion, cuando tienes la version de MySQL server 8, el archivo my.ini se daña al modificar cualquier dato bloc de notas coloca 3 caracteres hexadecimales al iniciar el archivo y lo rompe completamente, adjunto imagen
url de la imagen: https://prnt.sc/10nmfuv

La unica manera de verlos es abrir el archivo my.ini con un editor de texto hexadecimal, si se fijan en la primera linea antes del ‘#’ tenemos 3 caracteres y su equivalencia hexadecimal es ‘EF BB BF’

La solucion, despues de investigar muchas horas es, abrir el archivo con un editor hexadecimal, eliminar estos 3 caracteres, guardar e iniciar el servicio, de esta forma mysql logra entender el archivo my.ini el cual no estaba logrando leer por estos 3 caracteres.

Compartan esta informacion ya que sufri este problema mucho tiempo y jamas consegui respuesta hasta hoy, muchas personas se verán beneficiadas.

Miguel Santana
Backend developer
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de Richard
Val: 70
Ha mantenido su posición en MySQL (en relación al último mes)
Gráfica de MySQL

Instalación MySQL Windows10

Publicado por Richard (21 intervenciones) el 22/03/2021 04:48:25
Hola, yo usaba mysql tal como tu lo haces ahora, pero desde que conocí la aplicación LARAGON, fenomenal, ya desinstale mysql, y desde ese momento ya uso ese programa que, viene con MariaDb o Heidy que es la versión gratuita desde que Oracle adquirió Mysql, en otras palabra para entender mejor, MariaDb es el mismo Mysql pero con otro nombre por que la patente de Mysql ahora la tiene Oracle.
Al instalar, además que también usa el puerto 3306 o el que tu lo cambies, te crea un servicio web, osea, que no solo te sirve como motor de base de datos como mysql, si no que también como servicio web para que implemntes páginas web, porque tiene php y apache, LARAGON comparado con wampserver y xampp es mucho mejor, para mi.
Prueba lo y de seguro te agradará.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar