MySQL 설치오류

MySQL 설치오류

작성일 2023.11.27댓글 1건
    게시물 수정 , 삭제는 로그인 필요

초록색 박스표시한 버전을 다운받았고 컴퓨터 이름도 영어로 바꿨는데도 database fail이라는 오류가 뜹니다 도저히 어디에서 오류가 나는건지 모르겠어요 제 컴퓨터가 64비트 운영체제인데 그래서 오류가 나는건지 뭔지..
오류로그는 이렇습니다
Beginning configuration step: Writing configuration file

Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules

Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
확인됨


Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
확인됨


Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules

Beginning configuration step: Adjusting Windows service

Attempting to grant the required filesystem permissions to the 'NT AUTHORITY\NetworkService' account.
Granted permissions to the data directory.
Adding new service
New service added
Ended configuration step: Adjusting Windows service

Beginning configuration step: Initializing database (may take a long time)

Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.35...
Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
mysqld: Can't get stat of 'C:\Users\Public\Documents\ESTsoft\CreatorTemp' (OS errno 2 - No such file or directory)
The designated data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ is unusable. You can remove all files that the server added to it.
Aborting
Process for mysqld, with ID 12376, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.35.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)







#mysql 설치오류

profile_image 익명 작성일 -

안녕하세요?

오류 로그를 살펴보면 디렉토리의 권한 문제인 것 같습니다.

The designated data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ is unusable. You can remove all files that the server added to it.

오류 메시지에 따르면, 지정된 데이터 디렉토리 C:\ProgramData\MySQL\MySQL Server 8.0\Data\가 사용 불가능한 상태입니다. 이 문제를 해결하기 위해 다음 단계를 시도해 볼 수 있습니다

(1) 데이터 디렉토리 확인: 지정된 데이터 디렉토리가 실제로 존재하는지, 그리고 적절한 권한을 가지고 있는지 확인하세요. 디렉토리가 없거나 권한이 부족한 경우 문제가 발생할 수 있습니다.

(2) 디렉토리 권한 설정: NT AUTHORITY\NetworkService 계정에 데이터 디렉토리에 대한 적절한 파일 시스템 권한이 부여되었는지 확인하세요. 필요한 경우, 이 계정에 대한 권한을 다시 설정해야 할 수 있습니다.

(3) 디렉토리 내용 확인 및 정리: C:\ProgramData\MySQL\MySQL Server 8.0\Data\ 디렉토리를 확인하고, 필요한 경우 안에 있는 파일들을 정리하세요. 이미 데이터가 있거나 이전 설치의 잔여 파일이 있을 경우 문제가 발생할 수 있습니다.

(4) MySQL 서버 재시작: 문제가 해결된 후에는 MySQL 서버를 다시 시작해야 합니다. 이 때, --initialize 옵션을 사용하여 데이터베이스를 초기화할 수 있습니다.

(5) 로그 파일 확인: MySQL 서버의 로그 파일을 확인하여 추가적인 오류 메시지나 문제점을 파악할 수 있습니다.

(6) 설치 경로 및 버전 확인: 설치하려는 MySQL의 버전과 설치 경로가 시스템 요구사항과 일치하는지 확인하세요. 때때로 버전 불일치나 경로 문제로 인해 설치가 실패할 수 있습니다.

도움이 되셨기를 바랍니다. ^^

mysql 설치 오류

... 사실 설치 후에 실행할 때 오류가 나서 여러 번 삭제하고 다시 다운받아봐도 계속 저런 오류가 나네요. 뭐가 문제인 건가요? 설치 경로를 편집해서 새로운 디렉토리를...

mysql 설치 오류가 납니

... Saving my.ini configuration file... Saved my.ini configuration file. Ended... Ended configuration step: Starting the server MySQL 설치 중에 발생한 오류로...

MYSQL 설치 오류

... MySQL 8 버전 설치하면서 오류가 발생하였나요? 아래 영상을 보면서 MySQL Server 제거 후 다시 설치를 해보시기 바랍니다. https://youtu.be/0PXdDPgXVEc #MySQL...

윈도우 mysql 설치 오류

... Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console...

mysql-server 설치오류

... yum해서 mysql rpm파일설치오류없이 잘되는데 yum install -y mysql-server를 하면 계속 저창이 뜨네요... mysql-server 설치하는거 mysql-community-server였나...