Repository navigation
MySQL v2.4.0
Added
- Unix socket connections. With host
localhost, MySQL.jl connects over the socket named byunix_socket, bysocket=in an option file, or byMYSQL_UNIX_PORTwithread_env=true.protocol=:socketuses that path or/tmp/mysql.sock. Over a socket, the defaultssl_mode=:preferredconnects without TLS, as libmysqlclient does, and a setting that requires TLS raises anArgumentErrorbefore connecting.caching_sha2_passwordtreats the local socket as secure, as the server does. Windows keeps using TCP. (#264) passphraseunlocks an encryptedssl_key. Printing the TLS options hides it. (#263)ssl_caandssl_capathcan be given together; both are trusted. (#263)
Changed
- An option file with
socket=and hostlocalhost, such as a stockmy.cnf, now connects over that socket instead of TCP, as libmysqlclient does. Passprotocol=:tcpto keep TCP. (#264) - Requires Reseau 1.7. (#263)
(Release notes generated via AI.)
Merged pull requests: