[mysqladmin] 최초 설치 후 기본설정 > DB/SQLite

본문 바로가기

사이트 내 전체검색

DB/SQLite

[mysqladmin] 최초 설치 후 기본설정

작성일 22-02-28 23:13

페이지 정보

작성자sbLAB 조회 20,737회 댓글 0건

본문

[Linux mint] 


리눅스 xampp 설치

https://linuxhint.com/how-to-install-xampp-server-on-linux-mint-20/ 

/opt/lampp/phpmyadmin/   에 설치됨


최초 phpmyadmin 접속에서 기본값은 root 암호없고, 로그인창 없음


 mysql 암호생성 + 로그인창 활성화 

#mysql 

MariaDB [(none)]> use mysql

UPDATE user SET password=password('패스워드') WHERE user='root';
FLUSH PRIVILEGES;

[mariadb 10.5 이상]

set password for root@localhost = password('변경할 비밀번호');

flush privileges;

 

# service xampp restart

# cd /opt/lampp/phpmyadmin
# nano config.inc.php
-----------------------------------------------------------------------
$cfg['blowfish_secret'] = 'blowfish_secret_linuxmintlinuxmintlinuxmintlinuxmint';    <- 문자열 길게

/* Authentication type */ 
$cfg['Servers'][$i]['auth_type'] = 'cookie';      //config, cookie
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
--------------------------------------------------------------------------


댓글목록

등록된 댓글이 없습니다.

Copyright © 소유하신 도메인. All rights reserved.
PC 버전으로 보기