HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mysql
mysql-server
C++2017–2026
mysql / mysql-server

mysql-server

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

25Distinct people
29Mentions
0Explicit recommenders
12.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year29 dated mentions

Observed mentions: 2017-04-10 02:00:22 UTC to 2026-01-31 19:01:27 UTC.

024682017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC404
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC303
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC808
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC211
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC312
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC312

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Copyright (c) 2000, 2026, Oracle and/or its affiliates. This is a release of MySQL, an SQL database server. License information can be found in the LICENSE file. In test packages where this file is renamed README-test, the license file is renamed LICENSE-test. This distribution may include materials developed by third parties. For license and attribution notices for these materials, please refer to the LICENSE file. For further information on MySQL or additional documentation, visit http://dev.mysql.com/doc/ For additional downloads and the source of MySQL, visit http://dev.mysql.com/downloads/ MySQL is brought to you by the MySQL team at Oracle.
Read the full README on GitHub

What Hacker News says

29 sources
> This was a single paragraph in a large blog post, why the heck would I be including a detailed analysis of how I reached that conclusion? On one out of dozens of compile-time regressions I investigated? Something I do all the time, and am likely an expert on? Yes, when you make a questionable claim and you do not provide any evidence or whatsoever on how you reached to that conclusion, you should be ready to be challenged. Especially given the fact that this is a _technical_ blog targeted to people with technical expertise. You also take the occasion in the article to subtly confuse the uneducated readers by saying > In particular, the large regression on the right is due to enabling C++17 by default. as it is some sort of an universal truth that all C++ code bases will risk if they switch to C++17, which I will counterpoint later in my
Read the rest
comment with a real-world multi-million LoC C++ project that includes virtually every C++ header in existence (*). You sort of try to support that claim by saying that bigger sized STL implementation from C++17 is the culprit > The close to two times slowdown in 7zip O0 builds comes down to STL headers becoming 2-3 times as large in C++17. and at which point you really got me puzzling because I've worked on C++14 codebases which made the transition to C++17, and some even to C++20, and I never recall discussions taking place because of the build time regression as big as implied by the article. This wouldn't go unnoticed on multi-million LoC projects in a real-world. But you also continue with a snarky comment such as > While this is sad, and I had to edit out some choice words on the C++ standardization committee (I hear that this gets even worse in C++20), at least this does not affect non-clang compilers (e.g. Rust) and C code. You don't provide any constructive criticism nor have I seen you opening the bug for further investigation. All those things create a bad impression and it doesn't seem that your comments are coming from a good place either. It reads as a very biased PoV which is sort of a problem given that you're professionally involved with the work on LLVM, clang and Rust, and along the way you're being paid by RedHat for that type of work. (*) I've cloned https://github.com/mysql/mysql-server. Whole codebase is roughly around 3M lines of C and C++ code (among other types of source code). I did not do a very scientific experiment because initial results weren't matching what the article has shown but I've ran the RelWithDebInfo builds against {clang, gcc} x {C++14, C++17} and I've repeated that experiment with two different versions of gcc and clang. TL;DR neither clang or gcc build variant do not show a "regression" larger than ~5% in wall-clock time. 1a8a111d8f855a31d0aeffc8f02309b2b82dd410 was an actual point in time when MySQL transitioned from C++14 to C++17, and this commit was used as a base for C++17 builds. 1a8a111d8f855a31d0aeffc8f02309b2b82dd410~1 was used for C++14 builds. No ccache was involved or whatsoever. Everything was dockerized. Build with gcc-7.3.1: 6m33s (C++14) vs 6m55s (C++17) Build with clang-5.0.2 3m52s (C++14) vs 3m58s (C++17) Build with gcc-9.3.1 5m6s (C++14) vs 5m22s (C++17) Build with clang-8.0.0 4m39s (C++14) vs 4m49s (C++17)
In This year in LLVM
My recollection is that it was created when Oracle took over MySQL in order to continue to have a community-driven GPLv2 "mysql compatible" server; I was expecting them to be more different than they are, but for comparison one is a "clean" GPLv2" and the other has more words and a link to oracle.com: https://github.com/mysql/mysql-server/blob/mysql-8.0.31/LICE... https://github.com/MariaDB/server/blob/mariadb-10.11.1/COPYI...
In MariaDB plunges nearly 40% in NYSE debut after SPAC merger
Okay, perhaps a more detailed breakdown of the false claims will help, so that nobody is misled by revisionist/apologist history. > Unicode was assumed to be 64k of codepoints Not in 2002, when MySQL restricted their utf8 to three bytes [1]. Before 1997, Unicode specified clearly that 21 bits was the limit [2]. By 2002, there were 94,205 characters, including CJK characters beyond the 16 bit range, and clearly more to come. [3] > so a 3-byte UTF-8 sequence was considered "long enough" Not by many. The MySQL developers chose very badly, here. I and plenty of other developers managed to implement UTF-8 more correctly around that time. It wasn't hard, as the specs are very straightforward. > especially since there were surrogate pairs for the rare cases where you have to encode higher code points Surrogate pairs have never been supported in
Read the rest
UTF-8. The RFCs are explicit about that. [4] [5] (search for D800) Maybe you're thinking of CESU-8, though that's not intended for interchange. [6] > Only "recently" have longer UTF-8 sequences (aka. emojis) become widespread enough that this became a problem. Not supporting Unicode properly has always been problematic; it's just that bug reports from affected users rarely reached the right people. Emojis have done the world a favour in making less competent developers actually notice their bugs in basic text handling. > Yes, it could have been avoided And was, by most developers. > they probably just wanted to optimize a bit. They apparently altered a config number [1], so it wasn't an optimization decision; the code at the time still had support for 6-byte utf8 [7]. I would guess that they found a bug in their support for longer utf-8 sequences/conversion and took the hacky way out. [1] https://github.com/mysql/mysql-server/commit/43a506c0ced0e6e... [2] https://unicode.org/faq/utf_bom.html [3] https://en.wikibooks.org/wiki/Unicode/Versions [4] https://datatracker.ietf.org/doc/html/rfc2044 [5] https://datatracker.ietf.org/doc/html/rfc3629 [6] https://www.unicode.org/reports/tr26/tr26-4.html [7] https://github.com/mysql/mysql-server/blob/43a506c0ced0e6ea1...
In In MySQL, use “utf8mb4” instead of “utf8” (2016)

Showing the 15 most recent of 29 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.