Posts tagged: mysql

Upgrading MySQL 5.0 to 5.1 on Debian 5.0

By Rob, May 16, 2009 5:00 PM

I have a small low-power x86 machine at home running Debian 5.0. I regularly check for updates to any of the packages I have installed on it, and for a while its been offering an upgrade to MySQL. I dont use MySQL much at home, so I havent been too bothered about keeping that up to date. However, I got fed up of it nagging me, so I decided to proceed with the update. The following is what happened:

Preparing to replace mysql-server 5.0.51a-24 (using .../mysql-server_5.1.34-0.dotdeb.1_all.deb) ...
 Unpacking replacement mysql-server ...
 (Reading database ... 120744 files and directories currently installed.)
 Removing mysql-server-5.0 ...
 Stopping MySQL database server: mysqld.
 Removing mysql-client-5.0 ...
 Processing triggers for man-db ...
 Selecting previously deselected package mysql-client-5.1.
 (Reading database ... 118764 files and directories currently installed.)
 Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Selecting previously deselected package mysql-server-5.1.
 Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Processing triggers for man-db ...
 Processing triggers for menu ...
 Setting up mysql-client-5.1 (5.1.34-0.dotdeb.1) ...
 Setting up mysql-server-5.1 (5.1.34-0.dotdeb.1) ...
 Installing new version of config file /etc/init.d/mysql ...
 Stopping MySQL database server: mysqld.
 Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

Continue reading 'Upgrading MySQL 5.0 to 5.1 on Debian 5.0'»

Lighttpd PHP FastCGI Configuration – Debian 5.0 Lenny

By Rob, February 19, 2009 4:47 PM

After installing a fresh copy of Debian 5.0 on my mini x86 server (howto for that still being worked on), I needed to get PHP with FastCGI, MySQL and Lighttpd installed.

Here’s an excellent, short and to-the-point guide on getting FastCGI configured for Lighttpd:

http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html

Of course, this is assuming PHP, MySQL (if required) and Lighttpd are already installed:

  apt-get install php5-cli php5-cgi lighttpd mysql-server

I also needed to reconfigure MySQL for a low memory machine (112MB). Continue reading 'Lighttpd PHP FastCGI Configuration – Debian 5.0 Lenny'»

Panorama Theme by Themocracy