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.
All of the above binaries are optimised for the Pentium Pro
processor but should work on any Intel processor >= i386.
In the following circumstances you will need to use the MySQL
configuration file
:
You will need to use an option file to specify your MySQL configuration
under the following circumstances
:
@itemize @bullet
@item
The install
/
data directories are different than the default
@file{c:\mysql} and @file{c:\mysql\data}
.
The install
ation or
data directories are different than the default
locations (@file{c:\mysql} and @file{c:\mysql\data})
.
@item
If you want to use one of the
these servers:
You want to use one of
these servers:
@itemize @bullet
@item mysqld.exe
@item mysqld-max.exe
@item mysqld-max-nt.exe
@end itemize
@item
If y
ou need to tune the server settings.
Y
ou need to tune the server settings.
@end itemize
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.
There are two
configuration files with the same function: @file{my.cnf}
and @file{my.ini} file, however please note that only of one these
should be used to avoid confusion. Both files are plain text. The
@file{my.cnf} file , if used, should be created in the root directory of
drive C and the @file{my.ini} file on the WinDir directory e.g:
@file{C:\WINDOWS} or @file{C:\WINNT}
. MySQL will first read
the
@code{my.ini} file,
followed by
the @code{my.cnf} file.
There are two
option files with the same function: @file{my.cnf} and
@file{my.ini} file. However, to avoid confusion, it's best if you use only
of one them. Both files are plain text. The @file{my.cnf} file, if used,
should be created in the root directory of drive C. The @file{my.ini}
file, if used, should be created in the Windows system directory (e.g.,
@file{C:\WINDOWS} or @file{C:\WINNT}
). MySQL will look first for
the
@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,
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
used by this tool. The @file{\mysql\bin} directory contains a help file
with
instructions for using this tool.
if you use the @code{WinMySQLAdmin} tool,
it uses only the @file{my.ini}
file. The @file{\mysql\bin} directory contains a help file with
instructions for using this tool.
Using @code{notepad.exe}, create the configuration file and
edit the base section and keys:
Using @code{notepad.exe}, create the option file and edit the
@code{[mysqld]} section to specify values for the @code{basedir} and
@code{datadir} parameters:
@example
[mysqld]
...
...
@@ -5588,19 +5589,22 @@ basedir=the_install_path
datadir=the_data_path
@end example
If the data directory is other than the default
@file{c:\mysql\data}, you must cut the whole @file{\data\mysql}
directory and paste it on the your option new directory,
e.g.: @file{d:\mydata\mysql}.
Note that Windows pathnames should be specified in option files using
forward slashes rather than backslashes. If you do use backslashes, you
must double them.
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
need to manually create two new directories to hold the InnoDB
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}.
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.
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