MySQLのアップグレードでは、 「 ⁠昨日まで問題なく動いていた処理が、アップグレード後に突然エラーになる」 という状況に出会うことがあります。筆者も今回、まさにその典型のようなケースに遭遇しました。本稿では、アップグレード作業の途中で発覚したMySQL 8. 0.28、および8. 0.29のみに存在していた特定のバグを紹介します。
上記の通り、TIMESTAMP型にNOT NULLとdefault値が追加されており、もともとNULLだったデータも現在時刻が入ってしまいました。 結論からいうと、これはexplicit_ defaults_ for_ timestampがOFFであったため、明示的にNULLABLEを指定しなかったことでテーブル定義が変更され ...
Earlier this month, Oracle — which has long marketed its range of proprietary database systems — published the 9.0 version as an "Innovation Release" of MySQL. MySQL 9.0 is now among the three ...
Oracle celebrated the beginning of July with the general availability of three releases of its open source database, MySQL: MySQL 8.0.38, the first update of its long-term support (LTS) version, MySQL ...
先日、クラシコムで利用しているAWSのデータベースサービスであるAmazon Aurora MySQLのバージョンを3にアップグレードしました。 その流れと詰まりポイントを残しておきたいと思います。 動機 今までクラシコムではAurora MySQL2 (MySQL5.7) を利用していました。
The Mysql2 gem is meant to serve the extremely common use-case of connecting, querying and iterating on results. Some database libraries out there serve as direct 1:1 mappings of the already complex C ...
Community driven content discussing all aspects of software development from DevOps to design patterns. If you plan to do database development with Java and MySQL, the first thing you’ll need to do is ...
Make sure you have setup XAMPP stack in your system. The following guide explains how to setup XAMPP stack in Linux. Alternatively, you can use the LAMP or LEMP stacks which provides both PHP and ...