[mysqladmin] 최초 설치 후 기본설정
페이지 정보
작성자 sbLAB 댓글 0건 조회 17,206회 작성일 22-02-28 23:13본문
[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'] = '';
--------------------------------------------------------------------------
댓글목록
등록된 댓글이 없습니다.