안녕세계
MySQL 비밀번호 변경 (1) MySQL 실행 $ mysql -u root -p Enter password: (2) 비밀번호 변경을 위해 mysql 데이터베이스 사용 mysql> use mysql; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed (3) 현재 암호 확인 // mysql 5.x 는 "password" 또는 "authentication_string"로 확인합니다. mysql> select host, user, password from user; mysql> select host,..
Mac에서 MySQL 설치 homebrew 를 통한 MySQL 설치 과정을 알아 보겠습니다. brew 명령어를 사용하기 위해서는 터미널에 아래 명령어로 homebrew 를 설치해야 합니다. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" homebrew 설치후 brew 명령어를 통해 MySQL을 설치하세요. $ brew install mysql MySQL 실행 MySQL 설치 완료후 실행하세요. $ mysql.server start MySQL 설정 명령어를 실행하면 6가지 사항에 대해 설정을 지정해야합니다. 아래 사항은 설정 사항에 대한 예시입니다. $ mysql_secur..