You are not logged in.

#1 2020-03-23 18:48:17

Wolf020508
Member
Registered: 2020-03-23
Posts: 3

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

He instalado Mysql por medio de la tienda "Pacman-Manager" pero cuando lo ejecuto me tira el error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
no se que falla he buscado ayuda en los otros foros pero ya llevo dias intentandolo ayuda porfavor.

Al ejecutar mysql --verbose

2020-03-23T18:46:04.463338Z 0 [ERROR] [MY-010083] [Server] --verbose is for use with --help; did you mean --log-error-verbosity?
2020-03-23T18:46:04.463382Z 0 [Warning] [MY-010915] [Server] '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.
2020-03-23T18:46:04.463637Z 0 [System] [MY-010116] [Server] /usr/bin/mysqld (mysqld 8.0.19) starting as process 5084
2020-03-23T18:46:04.467351Z 0 [ERROR] [MY-010123] [Server] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2020-03-23T18:46:04.467582Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-03-23T18:46:04.467920Z 0 [System] [MY-010910] [Server] /usr/bin/mysqld: Shutdown complete (mysqld 8.0.19)  Source distribution.

I have installed Mysql through the "Snow" store but when I run it it throws me the error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
I do not know what is wrong, I have looked for help in the other forums but I have been trying for help for days.

When running --verbose

Last edited by Wolf020508 (2020-03-23 21:21:15)

Offline

#2 2020-03-23 20:15:17

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 873
Website

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket

¿Que está la tienda Snow?
Instala mariadb por pacman.

Offline

#3 2020-03-23 21:20:57

Wolf020508
Member
Registered: 2020-03-23
Posts: 3

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Aunque es mejor no ocupo MariaDB en el proyecto actual se requiere MySQL y me equivoque es la tienda (pacman-Manager)

Offline

#4 2020-03-23 22:06:21

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 873
Website

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Si tienes que utilizar MySQL, puedes instalarlo del AUR: https://aur.archlinux.org/packages/mysql/

Offline

#5 2020-03-28 02:55:08

Wolf020508
Member
Registered: 2020-03-23
Posts: 3

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Lo hize exactamente instalarlo desde AUR pero me da ese error estoy desesperado, he tratado otras formas pero por AUR lo instala pero me tira el error  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)

Offline

#6 2020-07-21 01:23:49

miguehdz
Member
Registered: 2020-07-21
Posts: 1

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Hola... ¿pudiste solucionar?... tengo el mismo error con Mariadb

Offline

Board footer

Powered by FluxBB