Skip to content

v2.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 06:58
97f9c92

MySQL v2.4.0

Diff since v2.3.0

Added

  • Unix socket connections. With host localhost, MySQL.jl connects over the socket named by unix_socket, by socket= in an option file, or by MYSQL_UNIX_PORT with read_env=true. protocol=:socket uses that path or /tmp/mysql.sock. Over a socket, the default ssl_mode=:preferred connects without TLS, as libmysqlclient does, and a setting that requires TLS raises an ArgumentError before connecting. caching_sha2_password treats the local socket as secure, as the server does. Windows keeps using TCP. (#264)
  • passphrase unlocks an encrypted ssl_key. Printing the TLS options hides it. (#263)
  • ssl_ca and ssl_capath can be given together; both are trusted. (#263)

Changed

  • An option file with socket= and host localhost, such as a stock my.cnf, now connects over that socket instead of TCP, as libmysqlclient does. Pass protocol=:tcp to keep TCP. (#264)
  • Requires Reseau 1.7. (#263)

(Release notes generated via AI.)

Merged pull requests:

  • Support passphrase and ssl_ca with ssl_capath (#263) (@quinnj-bot[bot])
  • Connect over a Unix socket (#264) (@quinnj-bot[bot])
  • Release 2.4.0 (#265) (@quinnj-bot[bot])