mysqlcheck -u root -p --auto-repair --check --optimize <dbname>
Wednesday, June 27, 2012
Monday, June 25, 2012
Mysql replication: purging binary logs
It is recommended to purge or recycle the master/slave db binary logs on a daily or weekly basis
Here is the command:
purge binary logs before '2012-05-01';
http://dev.mysql.com/doc/refman/5.0/en/purge-binary-logs.html
Here is the command:
purge binary logs before '2012-05-01';
http://dev.mysql.com/doc/refman/5.0/en/purge-binary-logs.html
Bandwidth Monitor Linux tools
Good command line tools:
bwm
bwm-ng
iftop
Useful links:
http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-linux.html
bwm
bwm-ng
iftop
Useful links:
http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-linux.html
Tuesday, May 8, 2012
SendMail Testing tool
Use the following tools to test your SendMail server:
http://www.mxtoolbox.com
https://www.wormly.com/test_smtp_server
Default SendMail configuration allows listening only to 127.0.0.0
That causes SendMail to accept emails from internal accounts only.
To receive emails from the whole world, Edit Network ports and change 127.0.0.0 to the server external IP address or set it to All.
http://www.mxtoolbox.com
https://www.wormly.com/test_smtp_server
Default SendMail configuration allows listening only to 127.0.0.0
That causes SendMail to accept emails from internal accounts only.
To receive emails from the whole world, Edit Network ports and change 127.0.0.0 to the server external IP address or set it to All.
Thursday, April 5, 2012
Building and install PerlMagick on windows
Please follow the following steps
- It requires downloading the source code package of ImageMagick.
- Goto VisualMagick folder
- Build the solution via Visual Studio
- Add VisualMagick\bin to environment PATH
- Goto PerlMagick directory
- Copy MakeFile.nt to MakeFile.PL
- perl MakeFile.PL
- nmake
- nmake install
- restart windows
- nmake test
- It requires downloading the source code package of ImageMagick.
- Goto VisualMagick folder
- Build the solution via Visual Studio
- Add VisualMagick\bin to environment PATH
- Goto PerlMagick directory
- Copy MakeFile.nt to MakeFile.PL
- perl MakeFile.PL
- nmake
- nmake install
- restart windows
- nmake test
Thursday, October 20, 2011
Wednesday, September 14, 2011
Fixing MySQL stuck in prerequisites state
Set the following option in configuration file:
optimizer_search_depth=3
optimizer_search_depth=3
Subscribe to:
Posts (Atom)