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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
406d14b4
Commit
406d14b4
authored
Mar 18, 2002
by
paul@teton.kitebird.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi clarify some of the Windows startup procedure
parent
2222dd94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
25 deletions
+29
-25
Docs/manual.texi
Docs/manual.texi
+29
-25
No files found.
Docs/manual.texi
View file @
406d14b4
...
@@ -5541,43 +5541,44 @@ pipes.
...
@@ -5541,43 +5541,44 @@ pipes.
All of the above binaries are optimised for the Pentium Pro
All of the above binaries are optimised for the Pentium Pro
processor but should work on any Intel processor >= i386.
processor but should work on any Intel processor >= i386.
In the following circumstances you will need to use the MySQL
You will need to use an option file to specify your MySQL configuration
configuration file
:
under the following circumstances
:
@itemize @bullet
@itemize @bullet
@item
@item
The install
/
data directories are different than the default
The install
ation or
data directories are different than the default
@file{c:\mysql} and @file{c:\mysql\data}
.
locations (@file{c:\mysql} and @file{c:\mysql\data})
.
@item
@item
If you want to use one of the
these servers:
You want to use one of
these servers:
@itemize @bullet
@itemize @bullet
@item mysqld.exe
@item mysqld.exe
@item mysqld-max.exe
@item mysqld-max.exe
@item mysqld-max-nt.exe
@item mysqld-max-nt.exe
@end itemize
@end itemize
@item
@item
If y
ou need to tune the server settings.
Y
ou need to tune the server settings.
@end itemize
@end itemize
Normally you can use the @code{WinMySQLAdmin} tool to edit the
Normally you can use the @code{WinMySQLAdmin} tool to edit the
configuration file @code{my.ini}.
In this case you don't have to worry
option file @code{my.ini}.
In this case you don't have to worry
about the following section.
about the following section.
There are two
configuration files with the same function: @file{my.cnf}
There are two
option files with the same function: @file{my.cnf} and
and @file{my.ini} file, however please note that only of one these
@file{my.ini} file. However, to avoid confusion, it's best if you use only
should be used to avoid confusion. Both files are plain text. The
of one them. Both files are plain text. The @file{my.cnf} file, if used,
@file{my.cnf} file , if used, should be created in the root directory of
should be created in the root directory of drive C. The @file{my.ini}
drive C and the @file{my.ini} file on the WinDir directory e.g:
file, if used, should be created in the Windows system directory (e.g.,
@file{C:\WINDOWS} or @file{C:\WINNT}
. MySQL will first read
the
@file{C:\WINDOWS} or @file{C:\WINNT}
). MySQL will look first for
the
@code{my.ini} file,
followed by
the @code{my.cnf} file.
@code{my.ini} file,
then for
the @code{my.cnf} file.
If your PC uses a boot loader where the C drive isn't the boot drive,
If your PC uses a boot loader where the C drive isn't the boot drive,
then your only option is to use the @file{my.ini} file. Also note that
then your only option is to use the @file{my.ini} file. Also note that
if you use the @code{WinMySQLAdmin} tool,
only the @file{my.ini} file is
if you use the @code{WinMySQLAdmin} tool,
it uses only the @file{my.ini}
used by this tool. The @file{\mysql\bin} directory contains a help file
file. The @file{\mysql\bin} directory contains a help file with
with
instructions for using this tool.
instructions for using this tool.
Using @code{notepad.exe}, create the configuration file and
Using @code{notepad.exe}, create the option file and edit the
edit the base section and keys:
@code{[mysqld]} section to specify values for the @code{basedir} and
@code{datadir} parameters:
@example
@example
[mysqld]
[mysqld]
...
@@ -5588,19 +5589,22 @@ basedir=the_install_path
...
@@ -5588,19 +5589,22 @@ basedir=the_install_path
datadir=the_data_path
datadir=the_data_path
@end example
@end example
If the data directory is other than the default
Note that Windows pathnames should be specified in option files using
@file{c:\mysql\data}, you must cut the whole @file{\data\mysql}
forward slashes rather than backslashes. If you do use backslashes, you
directory and paste it on the your option new directory,
must double them.
e.g.: @file{d:\mydata\mysql}.
If you would like to use a data directory different than the default of
@file{c:\mysql\data}, you must copy the entire contents of the
@file{c:\mysql\data} directory to the new location.
If you want to use the @code{InnoDB} transactional tables, you
If you want to use the @code{InnoDB} transactional tables, you
need to manually create two new directories to hold the InnoDB
need to manually create two new directories to hold the InnoDB
data and log files, e.g. @file{c:\ibdata} and @file{c:\iblogs}.
data and log files, e.g. @file{c:\ibdata} and @file{c:\iblogs}.
You will also need to add some extra lines to the
configura
tion
You will also need to add some extra lines to the
op
tion
file. @xref{InnoDB start}.
file. @xref{InnoDB start}.
If you don't want to use @code{InnoDB} tables, add the
If you don't want to use @code{InnoDB} tables, add the
@code{skip-innodb} option to the
configura
tion file.
@code{skip-innodb} option to the
op
tion file.
Now you are ready to test starting the server.
Now you are ready to test starting the server.
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