"Life is binary, one or zero, life or death"
  • About Me

  • November 19th, 2009

    [MySQL] I did the crap!

    Hi all,
    Ok, I confirm, I was jealous about Allan: after the “he broke it!” everyone know him. I wanted to be more popular, and maybe with my last crap I did.

    I changed configuration, pid and sock file path in MySQL; I was pretty sure that change didn’t broke anything except php, but…I failed.
    Yesterday I lost the whole day trying to fix this and in the night I found the solution: the problem was mysql set sock file path to /tmp/mysql.sock by default, I need to pass the option in configure. Don’t ask me why, but I thought that move sock file in a new location was a minor change and setting the new path into my.cnf was enough.
    mysql 5.1.41-2 is already in [extra] and will fix everything (qt applications, mysql-python, etc…).
    At least, with this “little story”, I’ll remember to put every package in [testing] first!

    Happy update :)

    November 17th, 2009

    SVN tunneling through HTTP proxy

    I don’t know in your university, but in mine I still cannot use version control system cause we have an HTTP proxy and only HTTP traffic is allowed.
    I want my system to be ever up-to-date and sometime this means to use development software. Today, for example, I wanted to build KDE from SVN.

    Usually set http-proxy-host and http-proxy-port into ~/.subversion/server was enough, but today with this method I got a nice “Permission denied“.

    The alternative method is to setup an SVN tunneling through the proxy:
    First, you need perl-libwww from [extra] repository and perl-net-proxy from AUR.
    Open a terminal and launch:
    $ connect-tunnel -P proxyhost:proxyport -T 10234:svnhost:svnport
    Now, keep connect-tunnel running and checkout svn in this way:
    $ svn co svn://localhost:10234/svntrunk

    All should works. Good luck!

    CC-BY NC SA
    This blog is licensed under the CC-BY NC SA version 3.0 or later.
    Theme is aav1 by Aaron Adams, modified by Andrea Scarpino

    Arch Linux  Wordpress  kde-developer
    FireStats icon Powered by FireStats