videojs('video', {}, function() {
	this.on('loadedmetadata', function() {
 		var pos = 0;
 		if (pos) {
 			player.currentTime(pos);
 		}
 	});
});
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,

1. database level 에서 innodb_file_format=BARRACUDA

2. table level 에서 ROW_FORMAT=DYNAMIC 또는 ROW_FORMAT=COMPRESSED 사용

다음과 같이 사용하면 정상적으로 테이블을 생성할 수 있습니다.

set global innodb_large_prefix = ON;
set global innodb_file_format = BARRACUDA;
CREATE TABLE test (
	id INTEGER NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	PRIMARY KEY (id),
	INDEX idx_test_name (name)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;

'database, query' 카테고리의 다른 글

oracle 계정 생성 및 권한 부여  (0) 2016.04.06
mssql 로그파일 크기 줄이는 법  (0) 2016.04.05
mysql - 1년전 게시물 가져오는 query  (0) 2016.03.24
pdo_mysql 연동  (0) 2015.12.17
MySQL IP 접속 권한  (0) 2015.06.22
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,