www.dflc.ch

Sysadmin and cooking recipes

November 26, 2014
by davide
1 Comment

Shell: Fixing shell script with ^M as carriage return character(s)

What appen ? Running a shell (bash, sh, tcsh, or whatever) script fail with the error below

The source of the problem is that this file have been edited on Windows system (see below) The ^M characters are carriage … Continue reading

November 7, 2013
by davide
0 comments

Fix mysqldump issue after MySQL/MariaDB upgrade

After I’ve upgraded my MariaDB (MySQL should behave the same) server from version 5.1 to 5.5, my next database backup went wrong (see message below)

This post simply explain how to fix it