Laragon 4.03에 추가하기 정보
라라벨 Laragon 4.03에 추가하기
본문
MariaDB의 현재 최신 버전은 https://downloads.mariadb.org/mariadb/10.3.11/ 입니다.
PHP도 최신 버전으로 https://windows.php.net/download
Httpd도 최신버전으로 https://httpd.apache.org/download.cgi
https://www.apachelounge.com/download/
모두 zip 파일을 찾아서 다운로드 받으시면 됩니다.
물론 이전 버전 조합으로 테스트도 가능합니다.
Start All을 누르기 전에 먼저 MariaDB를 선택한후에 Startall을 눌러 주세요.
(데이터가 그래야 data/mariadb data/mysql식으로 생기는 것 같습니다. mysql먼저 실행시키면 data/mysql/mariadb로 생겼던 기억이 있어서.. 이번 버전에서는 테스트는 안해봤습니다.)
Database 버튼을 눌러 보면 Default로 HeidiSQL Portable 9.5버전으로 연결 됩니다.
PhpMyadmin을 연결해 보기 위해서 Quic Add버튼을 클릭해 보겠습니다.
etc/apps/phpMyaAdmin이 자동 등록된 것을 알수 있습니다.
다시 Database 버튼을 눌러 보면 phpMyadmin으로 연결되는 것을 확인할수 있습니다.
mariaDB에 현재는 패스워드가 없습니다. gnuboard설치시 패스워드가 필요하니 root라고 패스워드를 넣어보겠습니다.
Database버튼을 눌러서 phpMyadmin이 나오면 패스워드 입력해서 사용하면 됩니다.
Password입력없이 자동으로 접속할려면
etc\apps\phpmyadmin아래의 config.inc.php 파일을 아래와 같이 변경합니다.
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
를 다음과 같이 변경해주세요.
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
Apache 2.4.37은 아래와 같은 에러가 납니다. 그냥 2.4.35사용하세요
0
댓글 1개
