Open Source

มีคนไปพบว่าหน้าเพจที่อธิบายเกี่ยวกับเงื่อนไขข้อตกลงการใช้งาน MySQL จากเวอร์ชัน 5.5.30 ไป 5.5.31 ถูกเปลี่ยนแปลงในส่วนเงื่อนไขข้อตกลงใบอนุญาตการใช้งาน โดยมิได้มีการประกาศแจ้งไปยังผู้ใช้งานล่วงหน้า

จากข้อความเดิม

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

ไปเป็น

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

แสดงให้เห็นว่า MySQL อาจจะไม่ใช้ซอฟต์แวร์เสรีอีกต่อไป

จากภาพแสดงให้เห็นถึงความแตกต่างของข้อความเงื่อนไขข้อตกลงการใช้งาน จากเวอร์ชัน 5.5.30 กับ 5.5.31

ที่มา MariaDB

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

ยังฟรีครับ แต่ผมไม่คิดหรอกว่า Oracle จะเปลี่ยนลิขสิทธิ์ เพราะจะทำให้ MariaDB โต สู้ทำ ๆ หยุด ๆ ดึง MariaDB ไว้ เพราะยังไง MariaDB ต้อง competible กับ MySQL อยู่แล้ว รับรอง ถ่วงได้ช้าเป็นสิบปี

ผมไม่คิดอย่างนั้น

ยังไง MariaDB ก็โตอยู่ดี และเมื่อมีคนใช้มาก ๆ MariaDB เองนะแหล่ะจะเป็นคนกำหนด Feature ใหม่ ๆ ขึ้นมาใช้เอง แล้วสุดท้าย มันก็จะแยกกันอย่างสิ้นเชิง

ถ้าเป็นผม ผมจะสนใจทำไมครับ ในเมื่อพาร์ทเนอร์ใหญ่ ๆ ก็เปลี่ยนมาใช้ MariaDB กันหมดแล้ว

ผมหมายถึง official repository ของ MariaDB ที่ใส่เพิ่มเติมไปได้ ระดับองค์กรใช้แต่ default repository ของ Distro เท่านั้นเหรอครับ ผมว่าไม่ใช่มั้ง เพราะ MariaDB ก็มี official repository ของแต่ละ Distro ให้อยู่แล้ว

ส่วนว่าจะเข้า repository หลักของ Distro หรือไม่ก็รอกันต่อไป แต่ตอนนี้ Fedora รับเข้าไปแล้ว และถ้าทำความเข้าใจระบบการออกรุ่นและการใส่ลง repository ของ Distro จริงๆ ทุกตัวก็เอามาจาก repository ของ MariaDB เองอยู่ดี มันไม่ได้แตกต่างกัน แค่มันเป็นค่าเริ่มต้นเพิ่มความสะดวกสบายไม่ต้อง add repository เพิ่มแค่นั้นเอง

องค์กรไม่เลือก แน่ใจนะครับ

อย่าง nginx นี่มีทั้งของ nginx เอง และ community ซึ่งผู้ใช้ส่วนใหญ่จะเลือกของ community เพราะตอน build จะมีการตั้งค่าเริ่มต้นพิเศษ หรือใส่ add-on เพิ่มเพื่อความเข้ากันได้ การที่จะเข้า repo
คือถ้ายังไม่เข้า repo หลักนี่คิดว่าบริษัทใหญ่ ๆ คงยังไม่ย้ายหรอกครับ เพราะมันเป็นความเสี่ยงที่หลีกเลี่ยงได้ ใช้ My
SQL ต่อไปก็มี repo หลักออก patch แก้ให้อยู่แล้ว

repository ของ Distro ก็เอามาจาก official repository อีกทีนิครับ มันไม่เห็นจะมีปัญหาในการใช้งานตรงไหน?

คำถามที่น่าสนใจกว่าคือ จ้าง system admin ไว้เฝ้าเครื่องเหรอครับ ถึงได้ห่วงว่าถ้าไม่ลง repository ของ Distro แล้วถือว่าไม่ผ่านกระบวนการที่สร้างความน่าเชื่อถือ ทั้งๆ ที่ official repository ของ software ตัวนั้นก็มีเปิดให้บริการและสามารถติดตั้งได้เช่นเดียวกัน ;)

ไม่เหมือนกันนะครับ nginx ของ offical กับ community มีทั้งการตั้งค่าและส่วนเสริมต่างกัน ของ mariadb ตอนนี้มีแต่ official อย่างตอนออก 13.04 ใหม่ ๆ ทาง offical ก็ไม่ออก v10 มาให้ครับ (แต่ใช้ของ 12.10 ได้) ต้องรอสักพักออก 10.0.3 ถึงจะรองรับ 13.04 อย่างเป็นทางการ ถ้ามีปัญหาแบบนี้ตอน production มันน่ากลัวครับ ยิ่งทางทีม mariadb ให้เหตุผลว่า เข้าใจว่าเรื่องนี้สำคัญ แต่ทางทีมมีงานอื่นที่มีความสำคัญมากกว่า เจอเข้าถึงกับเหวอ แต่ถ้าเข้า repo หลักนี่สบายใจได้ครับ
อีกอย่างคุณไม่เข้าใจวัฒนธรรมองค์กรใหญ่ ๆ play safe สำคัญที่สุดครับ งานไม่ออกไม่เป็นไร อย่าให้มีความผิดพอ

ปรกติเวลา upgrade Production ไม่ test บน SIT ก่อนเหรอครับว่ามันทำงานได้ไหมก่อน upgrade อยู่ๆ ก็ upgrade บน production เลย? ปรกติมันมี process ของมันอยู่นิครับ การ upgrade ใดๆ บน production ต้องมีการทดสอบบนเครื่อง SIT ก่อน แล้วไล่ขั้นตอนไปว่ามันผ่านจริง ><"

ไม่เข้าใจประเด็นครับ คือการ maintain มันก็ต้องมีขั้นตอนการทำงานอยู่แล้วครับ แต่ที่เรากำลังพูดนี่คือการจัดการความเสี่ยงครับ คือการเปลี่ยนจาก MySQL เป็น MariaDB ใน Debian หรือ Ubuntu มันมีความเสี่ยงสูงกว่า Distro อื่นที่ offical support โดย distro เองครับ ถ้าทางบริษัทมีแผนจะ upgrade OS แล้วเกิดปัญหา MariaDB ไม่รองรับอย่างที่เคยเกิด อาจจะไม่เกิดความเสียหาย แต่ทำให้แผนงานที่วางไว้เลื่อนออกไป สำหรับบริษัทใหญ่ ๆ ไม่ใช่เรื่องเล็กครับ แล้ว MariaDB บอกว่ารอสัก few weeks ของจริงปาไปเดือนกว่าครับ ok นี่คือความเสี่ยงของ open source ที่ต้องรับได้ แต่จะรับทำไมครับ ในเมื่อการใช้ MySQL มีความเสี่ยงน้อยกว่า

นั้นอยู่ในแผนงานที่ควรต้องคิดถึงความเสี่ยงอยู่แล้วหรือเปล่าในการเปลี่ยนไปใช้ DBMS ตัวใหม่ (แม้จะโครงสร้างเหมือนกัน) เพราะต้องมีแผนงานนำลงและย้ายกลับ หรือทดสอบจนแน่ใจว่าย้ายได้ครบจริงๆ ส่วนตัวเคยไล่ migrate จาก MySQL 4.0 มา 5.5 หรือ MySQL 5.5 มา MariaDB บน production มาก่อนบางส่วน ยังไม่พบความผิดพลาด (แต่ไม่ใช่ว่าจะไม่เกิด) ซึ่งผมวางแผนย้ายกลับตัวเดินให้ระบบทำงานได้ต่อแม้ก่อนถ้าย้ายไม่สำเร็จ ซึ่งควรมีแผนรองรับ และฝั่งคนดูแลด้าน business เค้าคิดแล้วว่าเค้าสามารถรับความเสี่ยงและสามารถเลื่อนได้ถ้ามันยังใช้งานไม่ได้จริงๆ (เลวร้ายที่สุดที่เกิดจากการหลุดการทดสอบ)

แล้วก็เรื่องความเสี่ยงของ open source นั้น MySQL ก็มีความเสี่ยงเช่นเดียวกันครับ เพราะมีแนวทางเหมือนกันนะ แค่คนสนับสนุนเบื้องหลังคือ Oracle ส่วน MeriaDB คือ Comunity (ซึ่งก็คือแนวทางเดิมของ MySQL ก่อนถูก Sun เข้าซื้อก่อนจะมาเป็น MariaDB) ตรงนี้ถือเป็นเรื่องเดียวกันนะครับ

ส่วนตัวผมใช้ทั้งสองตัว แน่นอนว่าไม่ว่าจะใช้ตัวไหนก็มีความเสี่ยงเช่นเดียวกันหมดครับ แต่อยู่ที่ว่าจะมองในมุมไหน และจากที่เปลี่ยนมาหลายๆ production ก็ยังไม่พบปัญหาอะไรจนต้องเปลี่ยนกลับนะครับ ;)

ถ้าฝั่ง debian เนี่ย ปกติ distro repo จะเอามาจาก source นะครับ ตัวคอนฟิกหรือ patch ต่างๆจะไม่เกี่ยวกับ official repo เลยครับ

ส่วนฝั่ง redhat นี่ official repo ไม่มีอะไรให้โหลดอยู่ละ

จากที่ใช้มาส่วนใหญ่มันใช้ตัวเดียวกันนะ ส่วน distro ตัวอื่นนี่น่าจะแตกต่างกัน (จากที่ลองใช้มาหลายๆ ที่) ปรกติใช้ debian/ubuntu มากกว่า centos น่ะ แต่ตัวหลังน่าจะพอ yum แต่ config น่าจะต่างกันนิดหน่อยมั้ง

หลังๆ เวลาลงบน Debian/Ubuntu จะพยายามใช้ official repo มากกว่า distro repo เพราะการอ้างอิงและนับรุ่นมันหาเอกสารง่ายกว่าและบางครั้งก็อัพเร็วกว่า distro repo (แล้วแต่ตัวน่ะ) ที่ใช้ official repo แบบนี้บ่อยๆ ก็ Apache, PHP, MySQL เป็นหลักเลย ตัวอื่นๆ ก็ distro repo ก็พวกพื้นๆ ที่มัน LTS จาก Ubuntu เอาน่ะ

MariaDB มัน Compatible กับ MySQL อยู่แล้วครับ ตอนนี้งานเกือบทั้งหมดๆ ที่สำคัญๆ ผมก็เปลี่ยน DBMS มาเป็น MariaDB หมดแล้ว แทบไม่ต้องแก้ไขอะไรเลย

รายละเอียดอื่นๆลองดูได้จาก MariaDB versus MySQL - Compatibility

เอาง่ายสุด มันใช้ port 3306 เหมือนเดิมเลยครับ โปรแกรมอื่นๆ ที่เป็น third party ใช้ต่อกับ mysql ได้ ก็น่าจะใช้งานได้เหมือนเดิมครับ

ไปเจอมาในเวปของ Steve Meyers ซึ่งเขียนถึงข่าวนี้ที่เขียนในเวป MariaDB เค้าบอกว่าที่ MySQL ทำ license ห้ามแจกจ่ายนั้นมันเป็น license ของตัวเอกสาร อ่านแล้วก็งงแฮะว่าจริงๆ มันยังไงกัน

อันนี้ลิงค์ของ Steve http://www.stevemeyers.net/2013/06/mysql-man-pages-are-no-longer-gpl.html

แต่เห็นในเวปของ Steve Meyers เค้ายกเนื้อหาในเอกสารลิขสิทธิ์ขึ้นมาว่า "This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms:...."

มันขึ้นต้นว่า This documentation ก็เลยงงและสงสัยขึ้นมาว่า อ้าว มันยังไง หรือเค้าเขียนถึงคนละ section ในเอกสาร

ถ้าไปอ่านจากข้อความเต็มของ ข้อความในเวอร์ชั่น 5.5 ก็อธิบายไว้เช่นนั้นครับว่า

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws.

Preface and Legal Notices

MariaDB นี่จะสู้ TitanDB ได้หรือเปล่าครับส่อแววแพ้แรงมันอยู่นะ #นั่นมันกำแพงมาเรียกะไททัน