Moronic Dapper package
Mysql immediately went borked so I re-compiled my own, which again immediately went borked.
So I do 'make clean' and figure, go the easy route, install the package.
I go to install mysql-server-4.1 off apt. And what do I get?? This:
> ryantate ~ [514] apt-get install mysql-server-4.1
Reading package lists… Done
Building dependency tree… Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient14 libmysqlclient15off
libnet-daemon-perl libplrpc-perl mailx mysql-client-4.1 mysql-common postfix
Suggested packages:
dbishell libcompress-zlib-perl procmail postfix-mysql postfix-pgsql
postfix-ldap postfix-pcre sasl2-bin
Recommended packages:
resolvconf
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient14 libmysqlclient15off
libnet-daemon-perl libplrpc-perl mailx mysql-client-4.1 mysql-common
mysql-server-4.1 postfix
Yes, that's right – if I want the database server, it wants to install an email server (postfix) as precondition!
This has to be the STUPIDEST thing I have EVER seen.
God I wish I had never upgraded. What a waste of a Saturday.
Bitterly, R
7 Replies
When I first setup my Linode, I somehow got it into my head that it was OK (and necessary) to have multiple lines in the hostname file, for multiple valid hostnames.
The old Ubuntu just used the first line. The new Ubuntu was concatenating all the lines together, newlines and all. Mysql was trying to read or create /usr/local/var/$HOSTNAME on startup and the newlines were screwing everything up.
I had fixed the hostname already when I was working on these problems, since it had been screwing up my command line. But I had not reboot or restarted my shell since then. Once I did so, mysql worked fine.
I'd suggest you let it install postfix and configure it for local delivery only (one of the options you'll be presented with). This way you're not really running an "email server", you're just allowing local users to mail each other - which is how the mysqlcheck cron job will report any problems to you.
if you want to monitor your server at all, don't forget to check your mail on it once in a while
I would imagine that there may be a more lightweight alternative.