Page 1 / 2 (13 Posts)

How to manage MySQL binary log space (Debian)

So it turns out that what is filling up my root partition is my MySQL binary logs.A collection of fat files in /var/log/mysql ...So I had several options: Move the logs to a different partition Increase the size of the root partition D…...

October 15, 2007 · 2 min · François Planque

How to check what MySQL version I am using?

In order to determine which MySQL version you're running you can type the following command: mysql -V Sample results: # mysql -V mysql Ver 14.7 Distrib 4.1.11, for pc-linux-gnu (i386) # mysql -V mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu…...

October 1, 2007 · 1 min · François Planque

Charsets in MySQL 4.1

Once you start messing around with charsets in MySQL you eventually get to a situation where the default charset for your database is UTF-8 but you want to import old backups in their own charset, for instance ISO-LATIN-1. But when you import it, MySQL…...

October 3, 2005 · 1 min · François Planque

MySQL Data Integrity Enforcement Caveats

Okay, I desperately lack time to write full articles posts lately, so I'm going to make this quick! :P Background: Suppose you have a table named Now, here's my point: from my experience I have found that a hell lot of things can go wrong when you try…...

March 31, 2005 · 3 min · François Planque

MySQL features by version breakdown

I could not find anything like this on the net, so I thought I'd make my own chart and share it... ;) MySQL version 3.23.58 +InnoDB 4.0.22 4.1.7 5.0 Release date 11-sept-03 27-oct-04 23-oct-04 not stable yet Row level locking yes yes yes yes…...

December 6, 2004 · 2 min · François Planque

Exporting MySQL databases

PhpMyAdmin does a pretty decent job at exporting MySql database with their structure and/or their data to a plain SQL file. One thing bugged me though: it encloses every table/column/whatever name in backquotes like in Life is good! :D...

December 3, 2004 · 2 min · François Planque

Another lousy PHP/MySQL /charset issue...

We had this quite interesting situation at work today: I export an UTF-8 MySQL database into an UTF_8 SQL file. I *binary* FTP the file over to him. He plays the SQL in PHPmyAdmin all configured for UTF-8. He then checks the data in PHPmyAdmin: special…...

December 3, 2004 · 2 min · François Planque

Using PHP 4.3.8 with MySQL 4.1

Running an app under PHP 4.3.8 and trying to connect to a MySQL 4.1 database can be pretty frustrating. By default it gives you a message like this: "Client does not support authentication protocol requested by server; consider upgrading MySQL client".…...

October 6, 2004 · 1 min · François Planque

mySQL & Oracle

(via Cédric) Jim Gray [Links gone]: "Larry Ellison announced that Oracle is now running entirely on Linux. But he didn't say, "Incidentally we're going to run all of Oracle on MySQL on Linux." If you just connected the dots, that would be…...

July 26, 2003 · 1 min · François Planque

Date Arithmetic With MySQL

MySQL offers pretty useful functions when you want to manipulate days: You can add a time interval to a date value with ADDDATE() or DATE_ADD() You can subtract a time interval from a date value witf DATE_SUB() You can find the interval between two…

July 13, 2003 · 1 min · François Planque