Access denied for user ‘debian-sys-maint’@'localhost’ (using password: YES)

web development No Comments »

I’m doing bing changes in my servers, and moving some mysql data stores (/var/lib/mysql/*) I’ve found the following errors on debian:

Access denied for user ‘debian-sys-maint’@'localhost’ (using password: YES)

That’s because debian has a mysql account for switching on/off and checking mysql status, and mysql password for that user “debian-sys-maint” should be the same stored in /etc/mysql/debian.cnf

Using your root user ony mysql you can chage the password to make it match this way:

sh# mysql -u root -p

mysql> GRANT ALL PRIVILEGES ON *.* TO ‘debian-sys-maint’@'localhost’ IDENTIFIED BY ‘<<<password>>>’ WITH GRANT OPTION;


Query OK, 0 rows affected (0.00 sec)

Installing cherokee 0.8.0 from subversion

web development No Comments »


Cherokee 0.8.0 web server will hit the streets soon, and I really want to migrate all my domains running in apache to cherokee (my server load has gone too high).

Here are the steps to install cherokee on a clean debian 4.0:


# cd /usr/src
# apt-get update
# apt-get install make subversion automake autoconf gcc pcre-dev libssl-dev libtool libpcre3-dev python
# svn co svn://svn.cherokee-project.com/cherokee/trunk cherokee-trunk
# cd cherokee-trunk
# ./autogen.sh --localstatedir=/var --prefix=/usr --sysconfdir=/etc --with-wwwroot=/var/www
# make install

At this point you can run cherokee admin to setup your server: http://www.cherokee-project.com/doc/admin.html

Tecnocracia blog started

development, technology, web development 1 Comment »

Recently we have started a new blog in spanish. It’s all about technology for spanish-talking people (tecnología en españa). It’s written by some friends and I, all of them enthusiastic about technology, web technologies, mobile technologies, and so on…

Tecnología en españa

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in
Close
E-mail It
Web optimizada por Optimizacion Web (plugin wordpress v.1.0.1).