Oracle 5.0 Reference Manual page 102

Table of Contents

Advertisement

Installing MySQL on Microsoft Windows Using a
mysqld: ready for connections
Version: '5.0.96'
The server continues to write to the console any further diagnostic output it produces. You can open a
new console window in which to run client programs.
If you omit the
data directory
the file with the
2.10.4.5. Starting MySQL from the Windows Command Line
The MySQL server can be started manually from the command line. This can be done on any version
of Windows.
To start the
window") and enter this command:
shell>
"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld"
The path to
You can stop the MySQL server by executing this command:
shell>
"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin" -u root shutdown
This command invokes the MySQL administrative utility
and tell it to shut down. The command connects as the MySQL
administrative account in the MySQL grant system. Note that users in the MySQL grant system are
wholly independent from any login users under Windows.
If
doesn't start, check the error log to see whether the server wrote any messages there to
mysqld
indicate the cause of the problem. The error log is located in the
Server 5.0\data
--console; in this case, you may get some useful information on the screen that may help
mysqld
solve the problem.
The last option is to start
this case,
mysqld
doesn't start. See
Use
mysqld --verbose --help
2.10.4.6. Customizing the PATH for MySQL Tools
To make it easier to invoke MySQL programs, you can add the path name of the MySQL
to your Windows system
• On the Windows desktop, right-click the My Computer icon, and select Properties.
socket: ''
port: 3306
[404]
option, the server writes diagnostic output to the error log in the
--console
(C:\Program Files\MySQL\MySQL Server 5.0\data
extension.
.err
Note
The accounts that are listed in the MySQL grant tables initially have no
passwords. After starting the server, you should set up passwords for them
using the instructions in
server from the command line, you should start a console window (or "DOS
mysqld
may vary depending on the install location of MySQL on your system.
mysqld
Note
If the MySQL
root
with the
mysqladmin
directory. It is the file with a suffix of .err. You can also try to start the server as
with the
mysqld
writes a log file
MySQL Internals: Porting to Other
environment variable:
PATH
Section 2.18, "Postinstallation Setup and
user account has a password, you need to invoke
option and supply the password when prompted.
-p
mysqladmin
--standalone
that should contain the reason why
C:\mysqld.trace
Systems.
to display all the options that
82
Zip Archive
noinstall
by default). The error log is
to connect to the server
user, which is the default
root
C:\Program Files\MySQL\MySQL
[421]
and
[405]
--debug
supports.
mysqld
Testing".
options. In
mysqld
directory
bin

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents