ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value
Mysql 버전이 높아지면서 보안관련 인한 오류입니다.
User 생성시 Host, User ,Password, ssl_cipher, x509_issuer, x509_subject 를 입력 해 주셔야 합니다.
ssl_cipher, x509_issuer, x509_subject 값은 '' 빈값을 입력하세요.
ex)
insert into user (Host, User, Password, ssl_cipher, x509_issuer, x509_subject )
values('localhost','사용자명',password('비밀번호'),'','','');
ERROR 1364 (HY000): Field 'authentication_string' doesn't have a default value
* mysql 5.5 에서 user 생성시 authentication_string 필드 추가. '' 값으로 넣어 주세요.
ex)
insert into user (Host, User, Password, ssl_cipher, x509_issuer, x509_subject, authentication_string)
values('localhost','사용자명', password('비밀번호'),'','','','');
출처 - http://blog.naver.com/taiji567?Redirect=Log&logNo=122081014
출처: http://linuxism.tistory.com/263 [linuxism]
'MySQL' 카테고리의 다른 글
MySQL 원격 접속 허용 (0) | 2017.09.07 |
---|---|
최근 데이터 가져오기 (0) | 2014.12.03 |
SQL UNION 구문 (0) | 2014.12.02 |
MySQL charset encoding (0) | 2014.11.26 |
MySQL 테이블 인코딩 변경하기 (0) | 2014.11.26 |