Showing entries 37561 to 37570 of 44037
« 10 Newer Entries | 10 Older Entries »
Can you trust your backups?

It is a good practice to check the integrity of your backups from time to time. You don't want something like this happening to you :)

time gunzip  -f -v entrieva/db4/guestbook_M-070507.tar.gz
entrieva/db4/guestbook_M-070507.tar.gz:
gunzip: entrieva/db4/guestbook_M-070507.tar.gz: unexpected end of file

real 67m56.782s
user 48m40.006s
sys 14m14.584s
Solaris 10 Dual Boot Installation on a Laptop

Earlier, I blogged about how to install Solaris 10 on Mac book using Parallels. This post contains links to screen casts about installing Open Solaris on a laptop as dual boot.

[Read more]
Who said penguins can?t fly?

Reading Linux failing to boot screen on the plane I remembered I saw something similar in my flight to the MySQL Users Conference. It wasn’t so critical, but my entertainment screen got an unexpected reboot and I could see the tux logo and the console for like 2 secons while booting. This was with Northwest Airlines.

So, who said Linux had problems with video?

Installing MySQL on Solaris 10 Virtual Machine: gcc and cc Compiler Option Differences

I left the last post in this series at the point of running make for the bitkeeper client. If you have been following the posts and tried to do that, you will be greeted with the following errors:

bash-3.00# make
cc -O2 -Wall -Wno-parentheses bkf.c -o bkf
cc: Warning: option -2 passed to ld
cc: illegal option -Wall
make: *** [bkf] Error 1


The first line shows the compiler options being used followed by a warning and an error. The reason we are getting this error is because cc options != gcc options. We have two solutions at hand at this point:

1. Use gcc (we installed it earlier)
2. Change the compiler options to use cc's compiler options instead of gcc.

Using gcc compiler
To use the gcc compiler instead of cc, do the following:

bash-3.00# CC=`which gcc`
bash-3.00# export CC
bash-3.00# make


[Read more]
Migration of database with special characters

Michael Chu has posted a review of how to migrate MySQL database with special characters properly.

The Perils of Perl, Do we need to take away your keyboard?

I love this stuff:

http://avatraxiom.livejournal.com/58084.html

... and frankly I am not going to be as eloquent as Chromatic:

http://use.perl.org/~chromatic/journal/33191?from=rss

Yes, PERL MADE ME WRITE BAD CODE.

The concept that a language makes you write bad code, or difficult code to maintain, is just bizarre.

Ok, if the programming language required you to only use i, l, and 1, as variables I might buy it... but for some reason, which I can clearly articulate over dinner if you are buying, I don't really see perl as the limiting reason.

Perl does not prevent you from setting up coding standards, writing good comments, or structuring the layout of ideas such that someone else can …

[Read more]
MMM Release 1.0-pre3

MySQL Master-Master Replication Manager version 1.0-pre3 has been released today. Changes list is really short now:

  • Major fix in multiple clusters support - now you can use many clusters with one monitoring node (details are in mmmd_mon man page)
  • Man pages for mmmd_mon, mmmd_agent and mmm_control scripts
  • Startup scripts added/fixed for mmmd_mon and mmmd_agent
  • Installation script now requires iproute package to be installed on server.

As always, if you have any questions/suggestions, post them here or in mmm-devel mail list.

Questions and Answers in the Second Session of the Online Solutions with MySQL Webinar - On Replication

Correction on the INSERT DELAYED
In slide 20 I have mentioned that the INSERT DELAYED statement can increase performance on the slave. This is wrong, since the DELAYED keyword is ignored by the SQL thread on the slave server. The INSERT DELAYED statement can increase the overall performance of an application since the control is returned to the client as soon as the row is queued into the list of inserts to execute. The INSERT DELAYED can be used with MyISAM, MEMORY and ARCHIVE.

Q from Filip: Does master & slave have to be the same db-version, and the same Operative system?
Not necessarily, you can have different versions and operating systems

Q from Danilo: Is there a way to load a backup from the master without locking tables or shutting down the master database?
Using Innodb, you can use mysqldump to produce a consistent backup without locking the …

[Read more]
Why Couchsurfing should be open (update, again)

Note: I've edited this post and updated it with more information / fixed some grammatical errors.

Note 2: Sorry to the planetmysql crowd reading this. I can't seem to find a way to make it not show up.





Late last year, I started volunteering for couchsurfing.com. I knew they were suffering from database problems, and I knew that I could help.

I spent a week at the collective in New Zealand, and I helped add a few indexes here and there, but I've never really involved myself as much as I would like to, past the point of diagnosing what problems need to be fixed. I proposing a few potential solutions, but it bugs me at times that I'm not more involved.

This gets me to my point; there are some things I don't like about the project. I mostly keep quiet about them, because couchsurfing.com achieves more good …

[Read more]
Installing MySQL on Solaris 10 Virtual Machine: Other tools

Before we can install MySQL using bitkeeper, we need certain tools to be installed.

Download Bitkeeper Client

From Sunfreeware.com
- Install wget-1.10.2-sol10-x86-local .
- Install gcc-3.4.6-sol10-x86-local or libgcc-3.4.6-sol10-x86-local.gz
- Install libiconv-1.11-sol10-x86-local (required for gcc)
- Install openssl-0.9.8e-sol10-x86-local (required for wget)
- Install make-3.81-sol10-x86-local (required for bk-client)

After downloading the above packages, navigate to the directory and then run

gunzip *.gz


Now you can install the packages one by one.

pkgadd -d libiconv-1.11-sol10-x86-local 
# this will install SMCliconv


pkgadd -d gcc-3.4.6-sol10-x86-local
# installs SMCgcc


pkgadd -d …
[Read more]
Showing entries 37561 to 37570 of 44037
« 10 Newer Entries | 10 Older Entries »