Home
Losers Wiki
Cancel

mysql-log-search-script

will search for a user in the mysql log #!/bin/bash today=`date +"%y%m%d"`; echo "Enter the date range you want the extract from;" read -p "From: [$today]" from from=${from:=$today} read -p "To: ...

mysql-keeping-your-password-safe

use mysql_config_editor usage; $ mysql_config_editor set --login-path=somelabel --port=someport --host=somehost --user=someuser --password stores login details in an encrypted file show all c...

mysql-clearing-logs

Binary logs on the master are used to transfer updates to the slave, so removing them all will break replication. Removing them at the filesystem is not ideal as you will break the internal indexin...

mysql-batch-mode

to run mysql in batch mode, and return results without the columns, use the following switches;  mysql -h servermysql -sN -e 'show databases'

mysql-backup-script

#!/bin/bash # mysql user needs certain privileges to run this file; # # grant SELECT, LOCK TABLES, reload ON *.* TO 'mysql'@'localhost' IDENTIFIED BY 'dump'; # TODAY=`date '+%Y%m%d%H%M'` DUMPDIR=/...

minions-mod

Master Staff The Master Staff allows you to spawn and control minions. Click M to do an evil deed, then you will get the master staff after you have done it 4 times. To spawn a minion, right cli...

minecraft--world

Beach House 621.5, 63.0, 1246.5 Village 519 64 1067 big village - hole in the middle -722 69 760 Big House - 510 64 1086 alternate nether portal to blaze spawner - -2451 67 1703 Track ...

minecraft--tree-farm

MineFactory Reloaded harvester use fir trees or another tree with no extra items put on top of power, water block on top of that to ground level needs chest to put in chopped down bits n...

minecraft--thaumcraft

crucible - move it outside and put into the ground  I                =U= =O=  <- top view   *   <- bottom view  I thaumium - use mosstones and iron. let flux go itself. collect man...

minecraft--storage

logical pipes http://technicpack.wikia.com/wiki/Logistics_Pipes_Tutorial power V chest -> provider -> basic -> basic ...