The packages of MySQL 5.5.20 are now available for Debian 6.0 “Squeeze” on both amd64 and i386 architectures, with the following changes :
- the
mysql-commonpackage should now work with MySQL 5.1 packages without any problem (unknown configuration variables in/etc/mysql/my.cnfhave been commented out) mysql-server-5.5now supports Linux native asynchronous IO
As usual, please read the full Changelog carefully before upgrading.
Wooo! Finally! Last night, I tried the “official” Oracle .deb that they released and it was a disaster. Immediately went back to using the dotdeb package(s). Glad to see the latest build on the repo. Installed without a hitch.
Was Linux native asynchronous IO just not built into the 5.5.19 package? I do believe that’s been a feature of MySQL 5.5.x for some time now.
When trying to upgrade, i received a message:
“The following packages have been kept back: mysql-server-5.5 mysql-server-core-5.5”
Why?
I’ve been installing the packages via F.A.I. with the debconf that I’ll paste below. This had been working for 5.0, 5.1 and even 5.5, but stopped working with .20. Was there a recent change in the syntax?
mysql-server-5.5 mysql-server-5.5/root_password password myfakerootpassword mysql-server-5.5 mysql-server-5.5/root_password_again password myfakerootpassword mysql-server-5.5 mysql-server-5.5/root_password seen true mysql-server-5.5 mysql-server-5.5/root_password_again seen true
@David Dreezer : mysql-server-5.5/* keys have been renamed to mysql-server/*
https://github.com/gplessis/dotdeb-mysql-5.5/blob/master/debian/mysql-server-5.5.config
Upgrade from MqSQL 5.5.19 to 5.5.20 took me 30seconds and there was no problem.
Thanx again!
@thomas : the Linux native AIO support will be enabled in MySQL if your Linux kernel supports it as well. You can check it in your MySQL client :
mysql> show variables like ‘innodb_use_native_aio’; +———————–+——-+ | Variable_name | Value | +———————–+——-+ | innodb_use_native_aio | ON | +———————–+——-+ 1 row in set (0.00 sec)@Stefan : first of all, you can “freeze” your PHP 5.2 packages to use them on Squeeze.
About MySQL 5.1 and 5.5 comparison, all that you should know is that upgrading is not enough to have better performance. A well-configured MySQL 5.1 server will be better than a MySQL 5.5 server that keeps its default configuration (regardless of the hosted application).
You can keep your MySQL 5.1 server, but you also have to take care of its usage/configuration :
MySQL 5.5 brings a lot of improvements and tools, but you can still use a fine tuned MySQL 5.1 server without any performance issue.
DO !!!NOT!!! install this version!! I came across a very painful bug right after the upgrade. Dotdeb please, I beg you to revert to previous version.
http://bugs.mysql.com/bug.php?id=61598
fixing the issue by setting right owner solves literally nothing - mysql f#cks everything up again with next run of repair/optimize..
please explain why it’s misleading? I did NOT change /var/lib/mysql/* owner/permissions! The problem occurred without doing anything except the upgrade process.
Indeed I did try “myisamchk -ofv table”, it helps(so does changing the owner manually btw).. BUT right after the repair mysql changes owner again to the wrong one so running one more optimize/repair gets you right to the start again..
@acidofil : that’s strange. The upgrade process went fine many times here.
I tried to reproduce the bug by upgrading a stock Debian Lenny (amd64) from MySQL 5.1.58 (from Dotdeb) to MySQL 5.5.20 (from Dotdeb too). All the files and directories in /var/lib/mysql/ were belonging to mysql:mysql during the whole process. No issue.
Have you tried running optimize/repair on any of the old tables after the upgrade?
I’ve noticed it actually works fine on any NEWLY created tables, but on tables from before-upgrade it crashes the data and throws “Can’t change ownership of the file ‘/var/lib/mysql/xxx/xxx.MYD” and changes the ownership.. Guess i’ll just do dump of all databases and put it back via mysql .file …
anyway, thanx for interest, and mostly for dotdeb! ]
mysql Ver 14.14 Distrib 5.5.20, for debian-linux-gnu (x86_64) using readline 6.1
Server version: 5.5.20-1~dotdeb.0 (Debian)
Root’s password can’t be configured, user debian-sys-maint can’t be created.
@Guillaume Thanks for your reply. Here are some details.
Debian 6.0 i386 sources.list
deb http://ftp.us.debian.org/debian squeeze main contrib non-free deb http://security.us.debian.org squeeze/updates main contrib non-free deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all
On my virtual machine & some VPSes, like buyvm, cinfu. When I use apt-get install mysql, the error will be reproduced.
Log: http://filerio.com/8tihrs1t367f
Hi,
no intsallproblems on Vserver @ Debian 6.0
root@lola:~# mysql -V mysql Ver 14.14 Distrib 5.5.20, for debian-linux-gnu (x86_64) using readline 6.1
root@lola:~# uname -r 2.6.32-4-pve
If you get this message: The following packages have been kept back: mysql-client-5.5 mysql-server-5.5
the solution is
apt-get dist-upgrade