MariaDB
https://mariadb.org
https://mariadb.com/
https://mariadb.com/kb/ko/mariadb/
- 2010년 Mysql을 오라클이 인수하면서 Mysql을 포크해서 만듬
- 실행파일이름도 아직 mysql이다
//========
* 서버 시작
net start MySql
//===========
* 에러 발생
- MySQL 5.7 에서 MariaDB 10.3으로 바꾸고 발생한 문제
- 에러 메시지
SQLSTATE[42000] Syntax error or access violation: 1055
- 해결 방법
- 라라벨의 경우, sql_mode에서 ONLY_FULL_GROUP_BY 모드를 뺀다.
config/database.php 파일 수정
'strict' => false,
'modes'=> [ 'NO_ENGINE_SUBSTITUTION', 'STRICT_TRANS_TABLES', ],
- 참고
https://github.com/laravel/framework/issues/14997#issuecomment-242129087
ONLY_FULL_GROUP_BY
STRICT_TRANS_TABLES
NO_ZERO_IN_DATE
NO_ZERO_DATE
ERROR_FOR_DIVISION_BY_ZERO
NO_AUTO_CREATE_USER
NO_ENGINE_SUBSTITUTION
//============
* 호환성
MariaDB 10.3 -> MySQL 5.7 호환성 비교
https://mariadb.com/kb/en/library/incompatibilities-and-feature-differences-between-mariadb-103-and-mysql-57/
//=============================================================================
DBMS 버전 역사
//====
MySQL
https://en.wikipedia.org/wiki/MySQL#Release_history
1 : 1995.05
3.1 : 1996
4.0 : 2002.08
5.0 : 2005.03
5.1 : 2008.11
2010 : 오라클이 인수
5.5 : 2010.12
5.6 : 2013.02
5.7 : 2015.10 <==
5.7.25 : 2019.01
8.0 : 2018.04
//=========
MariaDB
https://en.wikipedia.org/wiki/MariaDB
5.1 : 2009.10
5.2 : 2010.04
5.3 : 2011.07
5.5 : 2012.02
10.0 : 2012.11
10.1 : 2014.06
10.2 : 2016.04
10.3 : 2017.04 <==
10.3.12 : 2019.01
10.4 : 2018.11
//==================
Microsoft SQL Server
https://en.wikipedia.org/wiki/History_of_Microsoft_SQL_Server
1.0 : 1989
4.2 : 1993
6.0 : 1995
7.0 : 1998
8.0 : 2000 (SQL Server 2000)
9.0 : 2005
10.0 : 2008
11.0 : 2012
12.0 : 2014
13.0 : 2016
14.0 : 2017
'Code > Web' 카테고리의 다른 글
bootstrap.css 없이 glyphicons 아이콘 사용하기 (0) | 2019.02.11 |
---|---|
[DB] MySQL 서버 InnoDB 관련 설정값 변경 (0) | 2019.02.11 |
[DB] MariaDB 사용기 (0) | 2019.02.11 |
[DB] PpostgreSQL 사용기 (0) | 2019.02.11 |
CDN 속도 측정 비교 - CloudFlare Forever (0) | 2019.02.09 |
[SQL] 서브쿼리(SubQuery) (0) | 2019.02.07 |
댓글을 달아 주세요