말하는 컴공감자의 텃밭

mysql - ERROR 2059 (HY000): Authentication plugin 'auth_gssapi_client' cannot be loaded: ÁöÁ¤µÈ ¸ðµâÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù. 본문

카테고리 없음

mysql - ERROR 2059 (HY000): Authentication plugin 'auth_gssapi_client' cannot be loaded: ÁöÁ¤µÈ ¸ðµâÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù.

현콩 2024. 7. 1. 11:39
728x90

 

진짜 뭔 되도안되는 오류냐

예전엔 이거때문에 3번인가 mysql 재설치 했었다

 

이유는 모르겠음.

 

권한 때문인거 같은데, mysql 서비스를 종료하고, data 경로에 권한을 주고~ 다시 mysql 띄우니까 접근

icacls "C:\Program Files\MySQL\MySQL Server 8.0\data" /grant Everyone:F /T

 

mysql 다 끄고, 저걸로 권한주고 다시 시작해보자.. 껄껄

 

C:\Windows\system32>tasklist | findstr mysqld
mysqld.exe                    6028 Services                   0     12,012 K

C:\Windows\system32>taskkill /F /PID 6028
성공: 프로세스(PID 6028)가 종료되었습니다.

C:\Windows\system32>icacls "C:\Program Files\MySQL\MySQL Server 8.0\data" /grant Everyone:F /T
처리된 파일: C:\Program Files\MySQL\MySQL Server 8.0\data
처리된 파일: C:\Program Files\MySQL\MySQL Server 8.0\data\auto.cnf
처리된 파일: C:\Program Files\MySQL\MySQL Server 8.0\data\binlog.index
처리된 파일: C:\Program Files\MySQL\MySQL Server 8.0\data\DESKTOP-AQ39IHP.err
4 파일을 처리했으며 0 파일은 처리하지 못했습니다.

C:\Windows\system32>mysqld --skip-grant-tables --skip-networking

C:\Windows\system32>net start mysql80
MySQL80 서비스를 시작합니다..
MySQL80 서비스가 잘 시작되었습니다.

C:\Windows\system32>mysql -u root -p
Enter password: *******
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.37 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

 

벌써 3번째;
컴퓨터를 강제종료하니까 발생하는거 같기도?

728x90
Comments