-
Munin: Could not open required defaults file: /root/.my.cnf
For some reason I kept getting this error (even when the file was readable by all) in one of the munin (mysql slave) plugins that I had written. So this was the solution that worked for me; under the [mysql*] section in /etc/munin/plugin-conf.d/munin-node I added this: env.mysqlopts -u{user} -p{password} and in my plugin I did…
-
MySQL KEY, PRIMARY KEY and NOT NULL.
Have a look at this sql statement: mysql> CREATE TABLE `t1` (`id` INT NULL AUTO_INCREMENT, KEY(`id`)); Query OK, 0 rows affected (0.92 sec) mysql> SHOW CREATE TABLE `t1`; +——-+————————————————————————————————————————-+ | Table | Create Table | +——-+————————————————————————————————————————-+ | t1 | CREATE TABLE `t1` ( `id` int(11) NOT NULL AUTO_INCREMENT, KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 |…
-
Wireless connection dropouts in Lucid Lynx
-
Lucid Lynx — Downgrading from PHP 5.3
-
Hacker News Sorter
-
InnoDB + MySQL Implicit Autocommit
-
Getting visitor location in PHP.
-
news.ycombinator search
-
Scriptaculous Draggable in Action.
-
Online Spell Checker…
This can be viewed online on my Social Search site Sansj.com. try searching for Yahoi Search. It is a good thing have a spell checker facility in a Search Engine, people are not always correct with their spelling and yeah sometimes typos do occur. I read somewhere about using a statistical model to develop a…