• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 자유 게시판 (Python, SQL 등) MySQL 설치 오류 Initializing database 설치 오류

MySQL 설치 오류 Initializing database 설치 오류

8 글 보임 - 1 에서 8 까지 (총 8 중에서)
  • 글쓴이
  • #143815

    임서빈
    참가자
    자꾸 인코딩문자가 깨지면서 설치가 안됩니다.. ㅠㅠ
    사용자이름도 바꿔보고 계정도 바꿔보고 다 했는데도 해결이 안 돼요
    #143821

    codingapple
    키 마스터
    어떤 단계에서 어떤 에러메세지로 안되는 것입니까
    #143832

    임서빈
    참가자
    Initializing database 단계에서 에러메세지는 
    
    뚫쀌꿸.bin 이런식으로 안 된다고 뜹니다. 그래서 
    스크린샷 2025-11-27 212010
    
    이걸 바꾸면 해결된다길래 바꾸려고 했더니 이름바꾸기가 비활성화 되어있습니다..
    
    
    #143836

    codingapple
    키 마스터
    C:\ProgramData 아니면 Program Files 폴더에 있는 MySQL관련 폴더는 다 지우고 설치해봅시다
    #143837

    임서빈
    참가자
    다시 깔아서 설치해도 똑같은 오류가 발생합니다. 버전은 8.0.44인데 버전을 내려야할까요?
    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.44...
    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...
    C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.44) initializing of server in progress as process 1768
    mysqld: File '.\?쒕퉰-bin.index' not found (OS errno 2 - No such file or directory)
    The newly created data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ by --initialize is unusable. You can remove it.
    Aborting
    C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.44)  MySQL Community Server - GPL.
    Process for mysqld, with ID 1768, was run successfully and exited with code 1.
    Failed to start process for MySQL Server 8.0.44.
    Database initialization failed.
    Ended configuration step: Initializing database (may take a long time)
     
    #143838

    임서빈
    참가자
    고쳤습니다!
    #143839

    codingapple
    키 마스터
    어떻게 했습니까
    #143847

    임서빈
    참가자
    많은 코딩애플 형님의 강의를 듣는 분들을 위해 ,
    "mysqld: File '.\?쒕퉰-bin.index' not found (OS errno 2 - No such file or directory)" 이런식으로 뜨면서
     
    Initializing database 부분에서 설치가 넘어가지 않을텐데
    그렇다면 지금까지 설치한 MySQL ( 제어판 삭제, C:\ProgramData, C:\Program Files, C:\Program FIles(x86)
    이 안에 Mysql폴더들 전부 삭제한 후 다시 깔 때 Product Configuration 부분에서 Advanced and Logging Options 옵션 체크하고
    한글로 되어있는 ex) 애플.bin < 이런 것들 전부 apple.bin 이런식으로 변경해주면 됩니다.
8 글 보임 - 1 에서 8 까지 (총 8 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관, 개인정보처리방침
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠