Oracle 5.0 Reference Manual page 3014

Table of Contents

Advertisement

The
DATA DIRECTORY
Windows, because MySQL does not support Windows symbolic links. These options also are
ignored on systems that have a nonfunctional
DROP DATABASE
You cannot drop a database that is in use by another session.
• Case-insensitive names
File names are not case sensitive on Windows, so MySQL database and table names are also not
case sensitive on Windows. The only restriction is that database and table names must be specified
using the same case throughout a given statement. See
• Directory and file names
On Windows, MySQL Server supports only directory and file names that are compatible with the
current ANSI code pages. For example, the following Japanese directory name will not work in the
Western locale (code page 1252):
datadir="C:/私たちのプロジェクトのデータ"
The same limitation applies to directory and file names referred to in SQL statements, such as the
data file path name in
• The "\" path name separator character
Path name components in Windows are separated by the "\" character, which is also the escape
character in MySQL. If you are using
Unix-style file names with "/" characters:
mysql>
LOAD DATA INFILE 'C:/tmp/skr.txt' INTO TABLE skr;
mysql>
SELECT * INTO OUTFILE 'C:/tmp/skr.txt' FROM skr;
Alternatively, you must double the "\" character:
mysql>
LOAD DATA INFILE 'C:\\tmp\\skr.txt' INTO TABLE skr;
mysql>
SELECT * INTO OUTFILE 'C:\\tmp\\skr.txt' FROM skr;
• Problems with pipes
Pipes do not work reliably from the Windows command-line prompt. If the pipe includes the character
/ CHAR(24), Windows thinks that it has encountered end-of-file and aborts the program.
^Z
This is mainly a problem when you try to apply a binary log as follows:
shell>
mysqlbinlog binary_log_file | mysql --user=root
If you have a problem applying the log and suspect that it is because of a
you can use the following workaround:
shell>
mysqlbinlog binary_log_file --result-file=/tmp/bin.sql
shell>
mysql --user=root --execute "source /tmp/bin.sql"
The latter command also can be used to reliably read in any SQL file that may contain binary data.
Windows Platform Limitations
and
INDEX DIRECTORY
LOAD DATA
INFILE.
LOAD DATA INFILE
2994
options for
CREATE TABLE
call.
realpath()
Section 9.2.2, "Identifier Case
or
SELECT ... INTO
are ignored on
Sensitivity".
OUTFILE, use
/
character,
^Z
CHAR(24)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents