On one of my Typo3 installations I found an unusually large InnoDB file (Typo3's indexed_search being the culprit).
dev.mysql.com/doc/refman/5.1/en/adding-and-removing.html is a bit more complex. Instead of mysqldump (step 1 per documentation) I ran this SQL statement, following Nickolay Pelov's suggestion.
Here are the SQL statements I used to create the scripts to shrink this file:
use information_schema;
Note to self: if you want to install Jaunty Jackalope (Ubuntu 9.04) on a Asus A8V-MX motherboard and you have SATA drives only, they will not be recognized unless you load the kernel with these options:
irqpoll noapic pci=nomsi
These options should be added to your grub boot configuration as well.
Here are my notes from migrating an OSCommerce installation to a Drupal ubercart system.
Firstly dump all the products with their names and ids from the OScommerce database. Then import this data with the node import module. I've imported the id field into the description because at this point in time I couldn't figure where the sku was stored.
svn diff -x --ignore-eol-style If your flavor of Unix doesn't come with ssh-copy-id - does only Debian have it? - , then create a file called ssh-copy-id in your $PATH with:
cat ~/.ssh/*.pub | ssh $1 'mkdir .ssh; chmod 700 .ssh; cat>>.ssh/authorized_keys'
You can then copy your public key to another machine by running ssh-copy-id remoteuser@remotehostname.
delete from
tabelle
where rowid in
(select rowid from
(select
rowid,
row_number()
over
(partition by feld1,feld2 order by feld1, feld2) dup
from tabelle )
where dup > 1);