Tag Archives: tips

Log for Mysql console session

To log Mysql console session use option –tee (two dashes!) with full path to the log file: mysql -uroot my_db –tee=/tmp/mysql_console.log As result the file /tmp/mysql_console.log will contains all commands and queries with result of their executions. That might be helpful to keep your queries for using next time or for troubleshooting. The author of… Continue reading →

Tags: , , ,

VMWare and kernel 2.6.24.X

Last week I upgrade my Fedora Core 8 to the latest stable kernel 2.6.24.3-12. As result the compilation of VMWare module vmmon gave that error: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’ include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here /tmp/vmware-config1/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type /tmp/vmware-config1/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type make[2]: ***… Continue reading →

Tags: , , ,

Proxy definition for APT

Recently when I started to upgrade Kubuntu from 7.04 to 7.10 using Adopt manager I faced with problem. It doesn’t get proxy setting from the system. To solve that a following line should be added into file /etc/apt/apt.conf (you have to create it if it doesn’t exist): Acquire::http::Proxy “http://user:password@proxy_URL:proxy_Port”; User name and password can be… Continue reading →

Tags: , , ,

Get Adobe Flash playerPlugin by wpburn.com wordpress themes