개발 지식/MySQL

    mysql 8.0 패스워드 변경, 비밀번호 초기화 (mac)

    글 쓰게된 계기... 저는 데스크탑은 윈도우를 쓰고 노트북은 맥을 써용... 한 두달전인가 mysql깔았을때 버전에 따라서 간단한 비밀번호 ex)1234 이런게 안돼서 뭐로 해놨는데 기억이 가물가물하네용..! 그래서 초기화를 했습니다. 터미널에서 초기화하게되면 간단한 비밀번호도 사용가능하더라구요. mac에서 바꾸는 법입니다. 8.0대 이후로 구글링한거 해봤는데 UPDATE mysql.user SET authentication_string=PASSWORD('바꿀 비밀번호') where user='root'; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server..

    [MySQL] Workbench Error Code : 1175 해결 방법

    Mysql에서 update delete문을 썼을 때 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 이러한 에러가 뜨시는 분 preferences - SQL Editor- Safe Updates 체크한거 푸시고 워크벤치 프로그램 껐다가 다시 켜주세요.