A
A
Have you ever wanted to play around with(test ;) MySQL
replication/clustering techniques, LVS/Apache load balancing etc
but didn't have the hardware available and where smart enough not
to use a production environment?
Well an easy way to be able to do this is by creating a sandbox
environment using something like qemu,
xen, vmware or UML
which allow you to create virtual machines running inside a
protected environment on your own desktop machine or whatever
hardware you have spare, just be sure you have enough memory.
This article will cover setting up a sandbox using UML.
My GNU distro of choice is Archlinux and this article will be
based around it, but you should be able to take the …
A
A
We’ve got a lot of queries recently on the MySQL docs team address about the documentation (particularly man pages) for MySQL on Debian/Ubuntu.
The source of the original problem was reported as a Debian bug. The assumption from the reading of the license in this instance is that you are not allowed to distribute MySQL documentation unless you’ve asked first, and that the documentation is not released under the GPL license.
The original license was misunderstood in this respect.
In fact, the license as originally quoted in that bug does allow you to provide the documentation if you are providing the MySQL software.
In addition, regardless of how you interpret the license, all of our documentation, including installable man pages, has been available on …
[Read more]A
A
A
Since the very early days, the MySQL distribution packages contain a very useful commandline-tool named replace. As the name implies, it can be used to replace strings in text files. From the documentation:
The replace utility program changes strings in place in files or
on the standard input. Invoke replace in one of the following
ways:
shell> replace from to [from to] ... -- file [file] ...
shell> replace from to [from to] ... < file
from represents a string to look for and to represents its replacement. There can be one or more pairs of strings. Use the -- option to indicate where the string-replacement list ends and the filenames begin. In this case, any file named on the command line is modified in place, so you may want to make a copy of the original before converting it. …
[Read more]