Debian
Repair Corrupt Tablemysql: Table 'database/table' is marked as crashed and should be repairedTo fix this, I ran this command via a shell: $ mysqlcheck --all-databases -uroot -p enter the root password, and it goes through checking all database tables for issues. hopefully fixing along the way :) You may have to change root to whatever database username you have available (ie: whatever you use to login to phpmyadmin) It any show the error, run this sql:
$ mysql -uroot -p databasename REPAIR TABLE tablename; Or just jump into phpmyadmin and click on repair Terakhir dikemaskini (Selasa, 31 Januari 2012 22:44) |
format usb pen drivefdisk /dev/sda Disk /dev/sda: 128 MB, 128974848 bytes Device Boot Start End Blocks Id System Command: n “Create new partition!” Disk /dev/sda: 128 MB, 128974848 bytes Device Boot Start End Blocks Id System Command: w “Write table to disk and exit!” Format the USB drive with a FAT filesystem. mkdosfs -F 32 /dev/sda1 “It will work with FAT32? Grub Install for SargeInstall Grub on the Alternate Boot Drives- usefull for remote disk backup/upgrade Once you’ve successfully booted your new system for the first time, you will want to install Grub onto the other two disks (or on the other disk if you have only 2 HDDs) so that, in the event of disk failure, the system can be booted from another drive. Log in to your new system as root and do: # grub |
delete duplicate rowfrom http://www.justin-cook.com/wp/2006/12/12/remove-duplicate-entries-rows-a-mysql-database-table/
This is an extremely quick and painless way to remove duplicate rows (tuples) from a MySQL database table. The best part of it is that it requires no programming or PHP coding whatsoever, it can all be done with three manual SQL queries! Note: this only works on MySQL 3.23 and above. But I have a hard time imagining anyone running an older version than that anyways! So, there are 3 steps, and therefore 3 SQL statements: Step 1: Move the non duplicates (unique tuples) into a temporary table
speed up linux routerhttp://www.cyberciti.biz/faq/gentoo-centos-rhel-debian-fedora-increasing-txqueuelen/ |







