Now that would actually allow for syncing data between databases having different charset with MySQL 4.1++ when specifying , as the SJA would use utf8 internally and the server would convert charset when storing data as described in defaults or columnn-definitions.
I experimented a little with the Paragon Encrypted Disk -program (I have the older version 2)
Now this is funny:
If you place your /datadir on a USB- or an Ethernet drive (or even a CF-card on a card-reader or a USB-stick), MySQL won't start. It is rigorious about the fact that the /datadir must be a LOCAL folder.
However, if I create a VIRTUAL drive with the Paragon software (and now it does not matter if it is on a local drive, an USB drive an Ethernet harddisk or even a Flash-card/a USB-stick) and put the /datadir inside that virtual drive, then I can use that datadir on any external storage with MySQL! Actually not even a 4 GIGA CF-card is very expensive anymore, so this may be quite a usable trick!
Now … that was actually what I have been after before. I have two computers with MySQL installed. I would like them to share the same /datadir (not running at the same time of course) from my Ethernet Harddisk (Just like my mailprogram data are on my Ethernet Harddisk, so that I will always have it accessible no matter which computer I am using). Actually that is possible with MySQL and a Paragon Encrypted (Virtual) Disk.
You also can place the /datadir on a Paragon Encrypted (Virtual) Disk on a Flash-card or a USB-stick (and the best of them are now as fast as a ATA 100 harddisk). Just plug-in, mount the virtual encrypted drive and start MySQL (MySQL should of course not start with Windows then – you configure that from Administrative Tasks .. Services). When you're finished stop MySQL, unplug the FLASH memory, and put it in your pocket or lock it safe somewhere! For 'ordinary' MySQL usage just edit the configuration file and let /datadir point to an ordinary local folder, and restart MySQL. Or you may simply have more MySQL instances configured on each their port.
Actually my Ethernet harddisk has two USB-slots. I can attach a Cardreader to one on those, plug in a CF-card, Create a Paragon Encrypted (Virtual) Disk on the CF-card, mount this Paragon Encrypted (Virtual) Disk with a drive letter in Windows and use it as /datadir with MySQL!
I don't know if other 'Virtual Encrypted Disk' software lets you do this.
With WinXP Proffesional (and 2K I think too) you can use the encryption option that is built-in the NTFS file system. I don't like moving for instance the 'documents and settings' folder to a virtual drive – though I read some tweak-tricks on the Internet that could do it.
But as far as MySQL goes: You may point your /datadir in configuration to any drive – also a virtual encrypted drive. If only it shows up in Windows Explorer.
insert into `tt` (`id`,`utftext`,`ucstext`,`latintext`) values (NULL,'æ','ø','ø');
insert into `tt` (`id`,`utftext`,`ucstext`,`latintext`) values (NULL,'ølhund','øllebrød','øretæve');
Everything is correct here and all imported correctly.
But I wonder what would happen on my system if there were special characters in the UNICODE columns that are not in the latin1 (ANSI 'western' character) (sub)set?
Myself I use the Paragon Encrypted Disk http://www.paragon.ag for such encrypted storage. With it you generate a fixed-size file on your harddisk and that file can be mounted as a virtual drive. Any attemt to open, move, delete this file etc. will promt for the password and/or the encryption key.
Then clicked another table to view it, the program just disappeared with no trace.
This issue has allready been reported. I myself has experienced it too. I also know that a crashing bug related to the DATA tab was fixed in the development tree today. I think that exactly how this issue materializes could depend on the hardware configuration and systems settings.
Most likely BETA 5 will be out tomorrow with the fix.
Author
Posts
Viewing 15 posts - 5,596 through 5,610 (of 7,398 total)