Skip to main content

리눅스 기초 설정1

·57 words·1 min· loading
Table of Contents

초기 sudo 비밀번호 설정하는 방법
#

sudo passwd
#\n
'비밀번호'

mysql 초기 설정
#

mysql_secure_installation #으로 root비밀번호 설정
create user 아이디@localhost identified by '비밀번호' # 로컬
create user '아이디'@'%' identified by '비밀번호' # 로컬빼고다


grant all privileges on *.* to user@localhost identified by '비밀번호' with grant option;```
#모든 데이터베이스에 대한 접근을 허용한다는 의미로 절대 하면 안됨(나는연습이니까 ㅎㅎ)