본문 바로가기

mirmond

검색하기
mirmond
프로필사진 미르몬드

  • 분류 전체보기 (28)
    • 일상 (0)
    • 리눅스 (27)
      • 리눅스 명령어 (13)
      • 간단 설정 (14)
Guestbook
공지
최근 글
Recent Comments
Link
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록grant all (1)

mirmond

mariadb 유저생성 및 권한설정

사용자 생성 create user '사용자'@'localhost' identified by '비밀번호'; create user '사용자'@'192.168.0.1' identified by '비밀번호'; create user '사용자'@'192.168.0.%' identified by '비밀번호'; DB 권한 grant all privileges on *.* to '사용자'@'localhost'; grant all privileges on DB이름.* to '사용자'@'192.168.0.%'; grant all privileges on DB이름.TABLE이름 to '사용자'@'192.168.0.%'; 사용자 삭제 drop user '사용자'@'localhost'; drop user '사용자'@'192.16..

리눅스/간단 설정 2019. 10. 7. 13:36
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바