Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f0920f4b
Commit
f0920f4b
authored
May 21, 2001
by
paul@central.snake.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi "windows" -> "Windows", where appropriate.
manual.texi Mods to Windows-specific sections, chapter 4.
parent
9cd0b5f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
124 additions
and
117 deletions
+124
-117
Docs/manual.texi
Docs/manual.texi
+124
-117
No files found.
Docs/manual.texi
View file @
f0920f4b
...
...
@@ -2544,7 +2544,7 @@ which services were discovered on which dial-up numbers in your organization.
@item @uref{http://www.urbanresearch.com/software/utils/urbsql/index.html, urSQL}
SQL Editor and Query Utility. Custom syntax highlighting, editable
results grid, exportable result-sets, basic @strong{MySQL} admin functions,
Etc.. For
w
indows.
Etc.. For
W
indows.
@item @uref{http://www.edatanew.com/, MySQL Data Manager}
@strong{MySQL} Data Manager * is platform independent web client
...
...
@@ -8850,7 +8850,7 @@ We are interested in finding someone to do a port, and we will help them
with any technical questions they may have while doing the port.
We have previously talked with some BeOS developers that have said that
@strong{MySQL} is 80% ported to BeOS, but we haven't heard from the
se
@strong{MySQL} is 80% ported to BeOS, but we haven't heard from the
m
in a while.
@node Windows, OS/2, Source install system issues, Installing
...
...
@@ -8888,8 +8888,8 @@ To install either distribution, unzip it in some empty directory and run the
By default, @strong{MySQL}-Windows is configured to be installed in
@file{C:\mysql}. If you want to install @strong{MySQL} elsewhere, install it
in @file{C:\mysql}
, then move the installation to where you want it. If you
do move @strong{MySQL}, you must tell @code{mysqld} where everything is by
in @file{C:\mysql}
first, then move the installation to where you want it. If
you
do move @strong{MySQL}, you must tell @code{mysqld} where everything is by
supplying options to @code{mysqld}. Use @code{C:\mysql\bin\mysqld --help} to
display all options! For example, if you have moved the @strong{MySQL}
distribution to @file{D:\programs\mysql}, you must start @code{mysqld} with:
...
...
@@ -8898,12 +8898,12 @@ distribution to @file{D:\programs\mysql}, you must start @code{mysqld} with:
With all newer @strong{MySQL} versions, you can also create a
@file{C:\my.cnf} file that holds any default options for the
@strong{MySQL} server. Copy the file @file{\mysql\my-xxxxx.cnf} to
@file{C:\my.cnf} and edit
this
to suit your setup. Note that you should
@file{C:\my.cnf} and edit
it
to suit your setup. Note that you should
specify all paths with @samp{/} instead of @samp{\}. If you use
@samp{\}, you need to specify
this
twice, as @samp{\} is the escape
@samp{\}, you need to specify
it
twice, as @samp{\} is the escape
character in @strong{MySQL}. @xref{Option files}.
Starting from @strong{MySQL} 3.23.38
the w
indows distribution includes
Starting from @strong{MySQL} 3.23.38
, the W
indows distribution includes
both the normal and the @strong{MySQL-Max} binaries. The main benefit
of using the normal @code{mysqld.exe} binary is that it's a little
faster and uses less resources.
...
...
@@ -8917,21 +8917,21 @@ symbolic links, BDB and InnoDB tables.
@item @code{mysqld-opt} @tab
Optimized binary with no support for transactional tables.
@item @code{mysqld-nt} @tab
Optimized for a Pentium
p
ro processor. Has support for
named pipes.
One
can run this version on Win98, but in
this case no named pipes are created and
one
must
Optimized for a Pentium
P
ro processor. Has support for
named pipes.
You
can run this version on Win98, but in
this case no named pipes are created and
you
must
have TCP/IP installed.
@item
mysqld-max
@tab
@item
@code{mysqld-max}
@tab
Optimized binary with support for symbolic links, BDB and InnoDB tables.
@item
mysqld-max-nt
@tab
Like
mysqld-max
, but compiled with support for named pipes.
@item
@code{mysqld-max-nt}
@tab
Like
@code{mysqld-max}
, but compiled with support for named pipes.
@end multitable
All of the above binaries are optimized for the Pentium
p
ro processor but
All of the above binaries are optimized for the Pentium
P
ro processor but
should work on any Intel processor >= i386.
NOTE: If you want to use InnoDB tables,
you need to specify some
startup
options
in your my.ini
file! @xref{InnoDB start}.
NOTE: If you want to use InnoDB tables,
there are certain
startup
options
that must be specified in your @file{my.ini}
file! @xref{InnoDB start}.
@node Win95 start, NT start, Windows installation, Windows
@subsection Starting MySQL on Windows 95 or Windows 98
...
...
@@ -8950,7 +8950,7 @@ the above doesn't apply for Win98.
To start the @code{mysqld} server, you should start an MS-DOS window and type:
@example
C:\mysql\bin\mysqld
C:\
> C:\
mysql\bin\mysqld
@end example
This will start @code{mysqld} in the background without a window.
...
...
@@ -8958,25 +8958,25 @@ This will start @code{mysqld} in the background without a window.
You can kill the @strong{MySQL} server by executing:
@example
C:\mysql\bin\mysqladmin -u root shutdown
C:\
> C:\
mysql\bin\mysqladmin -u root shutdown
@end example
Note that Win95
/
Win98 don't support creation of named pipes. On
Win95
/
Win98, you can only use named pipes to connect to a remote
Note that Win95
and
Win98 don't support creation of named pipes. On
Win95
and
Win98, you can only use named pipes to connect to a remote
@strong{MySQL} running on an NT server.
If @code{mysqld} doesn't start, please check whether or not the
@file{\mysql\mysql.err} file contains any reason for this. You can also
try to start
it with @code{mysqld --standalone}; In this case
you may
get some useful information on the screen that may help solve th
is
.
try to start
the server with @code{mysqld --standalone}; In this case,
you may
get some useful information on the screen that may help solve th
e problem
.
The last option is to start @code{mysqld} with @code{--standalone
--debug}. In this case @code{mysqld} will write a log file
in
--debug}. In this case @code{mysqld} will write a log file
@file{C:\mysqld.trace} that should contain the reason why @code{mysqld}
doesn't start. @xref{Making trace files}.
@node NT start, Windows running, Win95 start, Windows
@subsection Starting MySQL on NT or Windows 2000
@subsection Starting MySQL on
Windows
NT or Windows 2000
The Win95/Win98 section also applies to @strong{MySQL} on NT/Win2000, with
the following differences:
...
...
@@ -8991,38 +8991,40 @@ For NT/Win2000, the server name is @code{mysqld-nt}. Normally you
should install @strong{MySQL} as a service on NT/Win2000:
@example
C:\mysql\bin\mysqld-nt --install
C:\> C:\mysql\bin\mysqld-nt --install
@end example
or
C:\mysql\bin\mysqld-max-nt --install
@example
C:\> C:\mysql\bin\mysqld-max-nt --install
@end example
(You can also use @code{mysqld} binaries that do
es
n't end with
(You can also use @code{mysqld} binaries that don't end with
@code{-nt.exe} on NT, but those cannot be started as a service or use
named pipes.)
You can start and stop the @strong{MySQL} service with:
You can start and stop the @strong{MySQL} service with
these commands
:
@example
NET START mysql
NET STOP mysql
C:\>
NET START mysql
C:\>
NET STOP mysql
@end example
Note that in this case you can't use any other options for @code{mysqld-nt}!
You can also run @code{mysqld-nt} as a stand-alone program on NT if you need
to start @code{mysqld-nt} with any options! If you start @code{mysqld-nt}
without options on NT, @code{mysqld-nt} tries to start
s
itself as a service
without options on NT, @code{mysqld-nt} tries to start itself as a service
with the default service options. If you have stopped @code{mysqld-nt}, you
have to start it with @code{NET START mysql}.
The service is installed with the name @code{MySQL}. Once installed, it must
be started using the Services Control Manager (SCM) Utility (found in Control
Panel) or by using the @code{NET START MySQL} command. If any options are
desired, they must be specified as
"Startup parameters"
in the SCM utility
desired, they must be specified as
``Startup parameters''
in the SCM utility
before you start the @strong{MySQL} service. Once running, @code{mysqld-nt}
can be stopped using @code{mysqladmin} or from the SCM utility or by using
can be stopped using @code{mysqladmin}
,
or from the SCM utility or by using
the command @code{NET STOP MySQL}. If you use SCM to stop @code{mysqld-nt},
there is a strange message from SCM about @code{mysqld shutdown normally}.
When run as a service, @code{mysqld-nt} has no access to a console and so no
...
...
@@ -9089,10 +9091,10 @@ You can test whether or not @strong{MySQL} is working by executing the
following commands:
@example
C:\mysql\bin\mysqlshow
C:\mysql\bin\mysqlshow -u root mysql
C:\mysql\bin\mysqladmin version status proc
C:\mysql\bin\mysql test
C:\
> C:\
mysql\bin\mysqlshow
C:\
> C:\
mysql\bin\mysqlshow -u root mysql
C:\
> C:\
mysql\bin\mysqladmin version status proc
C:\
> C:\
mysql\bin\mysql test
@end example
If @code{mysqld} is slow to answer to connections on Win95/Win98, there is
...
...
@@ -9110,25 +9112,25 @@ There are two versions of the @strong{MySQL} command-line tool:
@end multitable
If you want to use @code{mysqlc.exe}, you must copy
@file{C:\mysql\lib\cygwinb19.dll} to
@file{\windows\system} (or similar
place).
@file{C:\mysql\lib\cygwinb19.dll} to
your Windows system directory
(@file{\windows\system} or similar
place).
The default privileges on Windows give all local users full privileges
to all databases
. To make @strong{MySQL} more secure, you
should set a password for all users and remove the row in the
@code{mysql.user} table that has @code{Host='localhost'} and
to all databases
without specifying a password. To make @strong{MySQL}
more secure, you should set a password for all users and remove the row in
the
@code{mysql.user} table that has @code{Host='localhost'} and
@code{User=''}.
You should also add a password for the @code{root} user.
(
The following
example starts by removing the anonymous user
, that allows anyone to access
t
he 'test' database.)
:
You should also add a password for the @code{root} user. The following
example starts by removing the anonymous user
that can be used by anyone
t
o access the @code{test} database, then sets a @code{root} user password
:
@example
C:\mysql\bin\mysql mysql
C:\
> C:\
mysql\bin\mysql mysql
mysql> DELETE FROM user WHERE Host='localhost' AND User='';
mysql> QUIT
C:\mysql\bin\mysqladmin reload
C:\mysql\bin\mysqladmin -u root password your_password
C:\
> C:\
mysql\bin\mysqladmin reload
C:\
> C:\
mysql\bin\mysqladmin -u root password your_password
@end example
After you've set the password, if you want to take down the @code{mysqld}
...
...
@@ -9160,14 +9162,14 @@ Here is a note about how to connect to get a secure connection to remote
@itemize @bullet
@item
Install an SSH client on your
windows machine
- As a user, the best non-free
Install an SSH client on your
Windows machine --
- As a user, the best non-free
one I've found is from @code{SecureCRT} from @uref{http://www.vandyke.com/}.
Another option is @code{f-secure} from @uref{http://www.f-secure.com/}. You
can also find some free ones on @strong{Google} at
@uref{http://directory.google.com/Top/Computers/Security/Products_and_Tools/Cryptography/SSH/Clients/Windows/}.
@item
Start your
w
indows SSH client.
Start your
W
indows SSH client.
Set @code{Host_Name = yourmysqlserver_URL_or_IP}.
Set @code{userid=your_userid} to log in to your server (probably not the same
as your @strong{MySQL} login/password.
...
...
@@ -9183,35 +9185,37 @@ Save everything, otherwise you'll have to redo it the next time.
Log in to your server with SSH session you just created.
@item
Start some ODBC application on your windows machine (for example
Access).
On your Windows machine, start some ODBC application (such as
Access).
@item
Create a new file in windows and link to @strong{MySQL} using the ODBC driver the same way
you normally do, EXCEPT type in @code{localhost} for the @strong{MySQL} host server - not @code{yourmysqlservername}.
Create a new file in Windows and link to @strong{MySQL} using the ODBC
driver the same way you normally do, EXCEPT type in @code{localhost}
for the @strong{MySQL} host server --- not @code{yourmysqlservername}.
@end itemize
You should now have
your ODBC connection to @strong{MySQL}
encrypted using SSH.
You should now have
an ODBC connection to @strong{MySQL},
encrypted using SSH.
@cindex symbolic links
@cindex using multiple disks to start data
@cindex disks, splitting data across
@node Windows symbolic links, Windows compiling, Windows and SSH, Windows
@subsection Splitting Data Across Different Disks
Under
Windows
@subsection Splitting Data Across Different Disks
on
Windows
On windows @strong{MySQL} Version 3.23.16 and above is compiled with the
@code{-DUSE_SYMDIR} option. This allows you to put a database on
different disk by adding a symbolic link to it (in a similar manner tha
t
symbolic links works
on Unix).
Beginning with @strong{MySQL} Version 3.23.16, the @strong{MySQL}
distribution is compiled with the @code{-DUSE_SYMDIR} option. This allows
you to put a database on different disk by adding a symbolic link to i
t
(in a manner similar to the way that symbolic links work
on Unix).
On
windows
you make a symbolic link to a database by creating a file
On
Windows,
you make a symbolic link to a database by creating a file
that contains the path to the destination directory and saving this in
the @file{mysql_data} directory under the filename @file{database.sym}.
Note that the symbolic link will
only be used
if the directory
Note that the symbolic link will
be used only
if the directory
@file{mysql_data_dir\database} doesn't exist.
For example, if you want to have database @code{foo} on @file{D:\data\foo}, you
For example, if the @strong{MySQL} data directory is @file{C:\mysql\data}
and you want to have database @code{foo} located at @file{D:\data\foo}, you
should create the file @file{C:\mysql\data\foo.sym} that contains the
text @code{D:\data\foo}. After th
is
, all tables created in the database
text @code{D:\data\foo}. After th
at
, all tables created in the database
@code{foo} will be created in @file{D:\data\foo}.
@cindex compiling, on Windows
...
...
@@ -9220,7 +9224,7 @@ text @code{D:\data\foo}. After this, all tables created in the database
@subsection Compiling MySQL Clients on Windows
In your source files, you should include @file{windows.h} before you include
@
cod
e{mysql.h}:
@
fil
e{mysql.h}:
@example
#if defined(_WIN32) || defined(_WIN64)
...
...
@@ -9257,10 +9261,10 @@ with the following exceptions:
@table @strong
@item Win95 and threads
Win95 leaks about 200 bytes of main memory for each thread creation.
Because
of this, you shouldn't run @code{mysqld} for an extended time on Win95 if
you do many connections, because each connection in @strong{MySQL} creat
es
a new thread
! WinNT and Win98 don't suffer from this bug.
Win95 leaks about 200 bytes of main memory for each thread creation.
Each connection in @strong{MySQL} creates a new thread, so you shouldn't
run @code{mysqld} for an extended time on Win95 if your server handl
es
many connections
! WinNT and Win98 don't suffer from this bug.
@item Concurrent reads
@strong{MySQL} depends on the @code{pread()} and @code{pwrite()} calls to be
...
...
@@ -9268,9 +9272,9 @@ able to mix @code{INSERT} and @code{SELECT}. Currently we use mutexes
to emulate @code{pread()}/@code{pwrite()}. We will, in the long run,
replace the file level interface with a virtual interface so that we can
use the @code{readfile()}/@code{writefile()} interface on NT to get more speed.
The current implementation
will however limit the number of open files
@strong{MySQL} can use to 1024, which means that you will not be able to
run as many
concurrent threads on NT as on Unix.
The current implementation
limits the number of open files @strong{MySQL}
can use to 1024, which means that you will not be able to run as many
concurrent threads on NT as on Unix.
@item Blocking read
@strong{MySQL} uses a blocking read for each connection.
...
...
@@ -9293,8 +9297,8 @@ If a connection hangs, it's impossible to break it without killing
connections.
@end itemize
We plan to fix this
when our Windows developers have figured out a nice
workaround for this
.
We plan to fix this
problem when our Windows developers have figured out a
nice workaround
.
@item UDF functions
For the moment, @strong{MySQL}-Windows does not support user-definable
...
...
@@ -9310,18 +9314,25 @@ utility in Win95. You must take it down with @code{mysqladmin shutdown}.
@item Case-insensitive names
Filenames are case insensitive on Windows, so database and table names
are also case insensitive in @strong{MySQL} for Windows. The only
restriction is that database and table names must be
given in
the same
restriction is that database and table names must be
specified using
the same
case throughout a given statement. @xref{Name case sensitivity}.
@item The @samp{\} directory character
Pathname components in Win95 are separated by the @samp{\} character, which is
also the escape character in @strong{MySQL}. If you are using @code{LOAD
DATA INFILE} or @code{SELECT ... INTO OUTFILE}, you must double the @samp{\}
character
or use Unix style filenames @samp{/} characters
:
character:
@example
LOAD DATA INFILE "C:\\tmp\\skr.txt" INTO TABLE skr;
SELECT * INTO OUTFILE 'C:/tmp/skr.txt' FROM skr;
mysql> LOAD DATA INFILE "C:\\tmp\\skr.txt" INTO TABLE skr;
mysql> SELECT * INTO OUTFILE 'C:\\tmp\\skr.txt' FROM skr;
@end example
Alternatively, use Unix style filenames with @samp{/} characters:
@example
mysql> LOAD DATA INFILE "C:/tmp/skr.txt" INTO TABLE skr;
mysql> SELECT * INTO OUTFILE 'C:/tmp/skr.txt' FROM skr;
@end example
@item @code{Can't open named pipe} error
...
...
@@ -9335,8 +9346,8 @@ error 2017: can't open named pipe to host: . pipe...
@tindex .my.cnf file
This is because the release version of @strong{MySQL} uses named pipes on NT
by default. You can avoid this error by using the @code{--host=localhost}
option to the new @strong{MySQL} clients or create a
file @file{C:\my.cnf}
that contains the following information:
option to the new @strong{MySQL} clients or create a
n option file
@file{C:\my.cnf}
that contains the following information:
@example
[client]
...
...
@@ -9357,16 +9368,16 @@ following information:
@end example
@item @code{ALTER TABLE}
While you are
doing an @code{ALTER TABLE} the table is locked from usage
by other threads. This has to do with the fact that you on Windows can't
delete a file that is in use by another threads. (We may in the future
find some way to go
around this problem.)
@item @code{DROP TABLE} on a table that is in use by a @code{MERGE} table will not work
.
The @code{MERGE} handler does it table mapping hidden from @strong{MySQL}.
Because Windows doesn't allow
one to drop files that are open, you have
to fir
st flush all @code{MERGE} tables (with @code{FLUSH TABLES}) or drop the
@code{MERGE} table before droping the table. We will fix this at the same
While you are
executing an @code{ALTER TABLE} statement, the table is locked
from usage by other threads. This has to do with the fact that on Windows,
you can't delete a file that is in use by another threads. (In the future,
we may find some way to work
around this problem.)
@item @code{DROP TABLE} on a table that is in use by a @code{MERGE} table will not work
The @code{MERGE} handler does it
s
table mapping hidden from @strong{MySQL}.
Because Windows doesn't allow
you to drop files that are open, you first
mu
st flush all @code{MERGE} tables (with @code{FLUSH TABLES}) or drop the
@code{MERGE} table before drop
p
ing the table. We will fix this at the same
time we introduce @code{VIEW}s.
@end table
...
...
@@ -9389,14 +9400,14 @@ Add some nice start and shutdown icons to the @strong{MySQL} installation.
Create a tool to manage registry entries for the @strong{MySQL} startup
options. The registry entry reading is already coded into @file{mysqld.cc},
but it should be recoded to be more parameter oriented. The tool should
also be able to update the @file{
\my.cnf} file if the user prefers to use
t
his
instead of the registry.
also be able to update the @file{
C:\my.cnf} option file if the user prefers
t
o use that
instead of the registry.
@item
When registering @code{mysqld} as a service with @code{--install} (on NT)
it would be nice if you could also add default options on the command line.
For the moment, the workaround is to
update the @file{C:\my.cnf} fil
e
instead.
For the moment, the workaround is to
list the parameters in th
e
@file{C:\my.cnf} file
instead.
@item
When you suspend a laptop running Win95, the @code{mysqld} daemon doesn't
...
...
@@ -9419,10 +9430,6 @@ It would be nice if the socket read and write functions in @file{net.c} were
interruptible. This would make it possible to kill open threads with
@code{mysqladmin kill} on Windows.
@item
Documentation of which Windows programs work with @strong{MySQL}-Windows or
@strong{MyODBC} and what must be done to get them working.
@item
@code{mysqld} always starts in the "C" locale and not in the default locale.
We would like to have @code{mysqld} use the current locale for the sort order.
...
...
@@ -9486,14 +9493,14 @@ For example, in Unix, the shared module might be named @file{example.so}
and you would load a function from it like this:
@example
CREATE FUNCTION metaphon RETURNS STRING SONAME "example.so";
mysql>
CREATE FUNCTION metaphon RETURNS STRING SONAME "example.so";
@end example
Is OS/2, the module would be named @file{example.udf}, but you would not
specify the module extension:
@example
CREATE FUNCTION metaphon RETURNS STRING SONAME "example";
mysql>
CREATE FUNCTION metaphon RETURNS STRING SONAME "example";
@end example
@cindex binary distributions
...
...
@@ -14038,7 +14045,7 @@ A tab character.
@findex (Control-Z) \z
@item \z
ASCII(26) (Control-Z). This character can be encoded to allow you to
go around the problem that ASCII(26) stands for END-OF-FILE on
w
indows.
go around the problem that ASCII(26) stands for END-OF-FILE on
W
indows.
(ASCII(26) will cause problems if you try to use
@code{mysql database < filename}).
...
...
@@ -14339,7 +14346,7 @@ adopt a consistent convention, such as always creating databases and
tables using lowercase names.
One way to avoid this problem is to start @code{mysqld} with @code{-O
lower_case_table_names=1}. By default this option is 1 on
w
indows and 0 on
lower_case_table_names=1}. By default this option is 1 on
W
indows and 0 on
Unix.
If @code{lower_case_table_names} is 1 @strong{MySQL} will convert all
...
...
@@ -32005,7 +32012,7 @@ the following configure options:
You can find the @strong{MySQL}-max binaries at
@uref{http://www.mysql.com/downloads/mysql-max-3.23.html}.
The
w
indows @strong{MySQL} 3.23 binary distribution includes both the
The
W
indows @strong{MySQL} 3.23 binary distribution includes both the
standard @strong{mysqld.exe} binary and the @code{mysqld-max.exe} binary.
@uref{http://www.mysql.com/downloads/mysql-3.23.html}.
@xref{Windows installation}.
...
...
@@ -35491,7 +35498,7 @@ most of the Unix ODBC managers. You can find a list at these in the
@strong{ODBC}-related links section on the @strong{MySQL} useful links page.
@xref{Useful Links}.
To install @strong{MyODBC} on
w
indows, you should download the
To install @strong{MyODBC} on
W
indows, you should download the
appropriate @strong{MyODBC} .zip file (for Windows or NT/Win2000),
unpack it with @code{WINZIP}, or some similar program, and execute the
@code{SETUP.EXE} file.
...
...
@@ -35618,18 +35625,18 @@ through the @code{InConnectionString} argument in the
@multitable @columnfractions .2 .2 .6
@item @strong{Parameter} @tab @strong{Default value} @tab @strong{Comment}
@item user @tab ODBC (on
w
indows) @tab The username used to connect to @strong{MySQL}.
@item user @tab ODBC (on
W
indows) @tab The username used to connect to @strong{MySQL}.
@item server @tab localhost @tab The hostname of the @strong{MySQL} server.
@item database @tab @tab The default database
@item option @tab 0 @tab A integer by which you can specify how @strong{MyODBC} should work. See below.
@item port @tab 3306 @tab The TCP/IP port to use if @code{server} is not @code{localhost}.
@item stmt @tab @tab A statement that will be executed when connection to @code{MySQL}.
@item password @tab @tab The password for the @code{server} @code{user} combination.
@item socket @tab @tab The socket or
w
indows pipe to connect to.
@item socket @tab @tab The socket or
W
indows pipe to connect to.
@end multitable
The option argument is used to tell @strong{MyODBC} that the client isn't 100%
ODBC compliant. On
w
indows, one normally sets the option flag by
ODBC compliant. On
W
indows, one normally sets the option flag by
toggling the different options on the connection screen but one can also
set this in the opton argument. The following options are listed in the
same order as they appear in the @strong{MyODBC} connect screen:
...
...
@@ -36119,8 +36126,8 @@ FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\'
@node Borland C++, , Apache, Common programs
@section Borland C++
You can compile the @strong{MySQL}
w
indows source with Borland C++ 5.02.
(The
w
indows source includes only projects for Microsoft VC++, for
You can compile the @strong{MySQL}
W
indows source with Borland C++ 5.02.
(The
W
indows source includes only projects for Microsoft VC++, for
Borland C++ you have to do the project files yourself).
One known problem with Borland C++ is that it uses a different structure
...
...
@@ -38113,7 +38120,7 @@ switch to a new log) by executing @code{FLUSH LOGS}. @xref{FLUSH}.
@code{mysqld} writes all errors to the stderr, which the
@code{safe_mysqld} script redirects to a file called
@code{'hostname'.err}. (On
windows
@code{mysqld} writes this directly
@code{'hostname'.err}. (On
Windows,
@code{mysqld} writes this directly
to @file{mysql.err}).
This contains information on when mysqld was started and stopped and
...
...
@@ -41099,7 +41106,7 @@ the socket handling should be thread safe.
In the older binaries we distribute on our Web site, the client
libraries are not normally compiled with the thread-safe option (the
w
indows binaries are by default compiled to be thread safe).
W
indows binaries are by default compiled to be thread safe).
Newer binary distributions should have both a normal and a
thread-safe client library.
...
...
@@ -43361,7 +43368,7 @@ You can always find the latest version
@uref{http://www.trash.net/~ffischer/admin/index.html, here}.
@item @uref{http://www.mysql.com/Downloads/Win32/MySQL-Maker-1.0.zip,MySQL-Maker 1.0}.
Shareware @strong{MySQL} client for
w
indows. It's WYSIWYG tool which allows
Shareware @strong{MySQL} client for
W
indows. It's WYSIWYG tool which allows
you to create, change and delete databases and tables.
You can change field - structure and add, change and delete data in
these tables directly without ODBC-driver.
...
...
@@ -45349,7 +45356,7 @@ The slave now logs when it connects to the master.
Fixed a core dump bug when doing @code{FLUSH MASTER} if you didn't specify
a filename argument to @code{--log-bin}.
@item
Added missing @file{ha_berkeley.x} files to the @strong{MySQL}
w
indows
Added missing @file{ha_berkeley.x} files to the @strong{MySQL}
W
indows
@item
Fixed some mutex bugs in the log code that could cause thread blocks if new
log files couldn't be created.
...
...
@@ -46644,7 +46651,7 @@ compile all relevant files for 3.22.33 :(
@appendixsubsec Changes in release 3.22.33
@itemize @bullet
@item
Fixed problems in
w
indows when locking tables with @code{LOCK TABLE}
Fixed problems in
W
indows when locking tables with @code{LOCK TABLE}
@item
Quicker kill of @code{SELECT DISTINCT} queries.
@end itemize
...
...
@@ -50016,7 +50023,7 @@ Allow update of variables in @code{UPDATE} statements. For example:
@code{myisamchk}, @code{REPAIR} and @code{OPTIMIZE TABLE} should be able
to handle cases where the data and/or index files are symbolic links.
@item
Add simulation of @code{pread()}/@code{pwrite()} on
w
indows to enable
Add simulation of @code{pread()}/@code{pwrite()} on
W
indows to enable
concurrent inserts.
@item
A logfile analyzer that could parsed out information about which tables
...
...
@@ -50316,7 +50323,7 @@ send mail to @email{mysql@@lists.mysql.com} and ask for help. Please use the
@code{mysqlbug} script for all bug reports or questions regarding the
@strong{MySQL} version you are using!
In the
windows @strong{MySQL} distribution
@code{mysqld.exe} is by
In the
Windows @strong{MySQL} distribution,
@code{mysqld.exe} is by
default compiled with support for trace files.
@node Making trace files, Using gdb on mysqld, Compiling for debugging, Debugging server
...
...
@@ -50331,7 +50338,7 @@ You can check this by executing @code{mysqld -V}. If the version number
ends with @code{-debug}, it's compiled with support for trace files.
Start the @code{mysqld} server with a trace log in @file{/tmp/mysqld.trace}
(or @file{C:\mysqld.trace} on
w
indows):
(or @file{C:\mysqld.trace} on
W
indows):
@code{mysqld --debug}
...
...
@@ -50658,7 +50665,7 @@ One uses the debug package by invoking the program with the
Most @strong{MySQL} programs has a default debug string that will be
used if you don't specify an option to @code{--debug}. The default
trace file is usually @code{/tmp/programname.trace} on Unix and
@code{\programname.trace} on
w
indows.
@code{\programname.trace} on
W
indows.
The debug control string is a sequence of colon separated fields
as follows:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment