기본 콘텐츠로 건너뛰기

linux MariaDB 최신 버전으로 교체하기

MairDB 최신 정보 및 설치 방법<== 클릭
1. 우분투 기본은 5.x 버전이 설치 되 있기 때문에 링크를 클릭해서
자신한테 맞는 OS를 선택하고 최신 으로 변경해서 설치 하시면 됩니다.

설치 버전 확인
dpkg --list | grep mysql

처음 설치시 설정 변경

vi /etc/mysql/mysql.cnf

원격 연결 할수 있게 127.0.0.1을 변경
bind-address            = 0.0.0.0

언어 설정 설정 및 테이블 조회시 대소문자 구분하지 않게 하기
[mysqld]
lower_case_table_names = 1
init_connect = SET collation_connection = utf8_general_ci
init_connect = SET NAMES utf8
character-set-server = utf8
collation-server = utf8_general_ci


[mysql]
..
default-character-set = utf8

[mysqldump]
..
default-character-set = utf8

설정이 완료 되면
service mysql restart

댓글

이 블로그의 인기 게시물

java 특정 디렉토리에 있는 파일 목록을 읽어내기, 정렬해서 가져오기

폴더 리스트 가져오기 String path="C:\"; File dirFile=new File(path); File []fileList=dirFile.listFiles(); for(File tempFile : fileList) {   if(tempFile.isFile()) {     String tempPath=tempFile.getParent();     String tempFileName=tempFile.getName();     System.out.println("Path="+tempPath);     System.out.println("FileName="+tempFileName);     /*** Do something withd tempPath and temp FileName ^^; ***/   } } 정렬해서 가져오기 import java.io.FileFilter; import java.io.IOException; import java.util.Arrays; import java.util.Date; import org.apache.commons.io.comparator.LastModifiedFileComparator; import org.apache.commons.io.filefilter.FileFileFilter; public class LastModifiedFileComparatorTest { public static void main(String[] args) throws IOException { File directory = new File("."); // get just files, not directories File[] files = directory.listFiles((FileFilter) FileFileFilter.FILE); System.out.println("Defaul...

UltraEdit Professional Version 18.20.0.1014 라이센스 키 넣기

Step 1: unpack rar archive      Step 2: run the setup   Step 3: Use the given keygen to activate    Add the line   127.0.0.1 licensing.ultraedit.com         to your %WINDOWS%\system32\drivers\etc\hosts file                 Enter any data for license-id and password (license-id must be a         number)                 Choose Offline activation and generate corresponding activation         codes for your user codes   Step 4: Enjoy and Support Developers, Buy It, They Deserved It!