summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <jcole@abel.spaceapes.com>2001-04-17 14:57:31 -0500
committerunknown <jcole@abel.spaceapes.com>2001-04-17 14:57:31 -0500
commit8c76abc2d53098a4c2acd943f0c38d9a625c45ec (patch)
tree8a63d9cccd6c65d36212b22ec43a276452ee7e8c
parentf95597ec99732b7800f4c1aed8125d3fa67401cc (diff)
downloadmariadb-git-8c76abc2d53098a4c2acd943f0c38d9a625c45ec.tar.gz
Small fixes to manual.texi.
Docs/manual.texi: Small fixes. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-rw-r--r--BitKeeper/etc/logging_ok1
-rw-r--r--Docs/manual.texi24
2 files changed, 15 insertions, 10 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index 43bfe8e7200..eedd3f93908 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -1,3 +1,4 @@
sasha@mysql.sashanet.com
monty@donna.mysql.fi
serg@serg.mysql.com
+jcole@abel.spaceapes.com
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 57e76a6ff81..13129ac29a0 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -5461,7 +5461,7 @@ shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
-shell> chown -R mysql /usr/local/mysql/var
+shell> chown -R mysql /usr/local/mysql/data
shell> chgrp -R mysql /usr/local/mysql
shell> chown -R root /usr/local/mysql/bin/
shell> bin/safe_mysqld --user=mysql &
@@ -37469,13 +37469,16 @@ default port number and socket file pathname, and the @code{--prefix} value
should specify an installation directory different than the one under which
the existing @strong{MySQL} installation is located.
-You can check the socket and port used by any currently executing
-@strong{MySQL} server with this command:
+You can check the socket used by any currently executing @strong{MySQL} server
+with this command:
@example
shell> mysqladmin -h hostname --port=port_number variables
@end example
+Note that if you specify ``@code{localhost}'' as a hostname, @code{mysqladmin}
+will default to using Unix sockets instead of TCP/IP.
+
If you have a @strong{MySQL} server running on the port you used, you will
get a list of some of the most important configurable variables in
@strong{MySQL}, including the socket name.
@@ -37526,16 +37529,17 @@ can use one of the following methods:
@itemize @bullet
@item
-Start the client with @code{--host 'hostname' --port=port_numer} or
-@code{[--host localhost] --socket=file_name}.
+Start the client with @code{--host 'hostname' --port=port_number} to connect
+with TCP/IP, or @code{[--host localhost] --socket=file_name} to connect via
+a Unix socket.
@item
-In your C or Perl programs, you can give the port and socket arguments
+In your C or Perl programs, you can give the port or socket arguments
when connecting to the @strong{MySQL} server.
@item
-If your are using the @strong{MySQL} perl DBD module you can read the options
-from the @strong{MySQL} option files. @xref{Option files}.
+If your are using the Perl @code{DBD::mysql} module you can read the options
+from the @strong{MySQL} option files. @xref{Option files}.
@example
$dsn = "DBI:mysql:test;mysql_read_default_group=client;mysql_read_default_file=/usr/local/mysql/data/my.cnf"
@@ -37545,8 +37549,8 @@ $dbh = DBI->connect($dsn, $user, $password);
@item
@tindex MYSQL_UNIX_PORT environment variable
@tindex MYSQL_TCP_PORT environment variable
-@tindex Environment variable, MYSQL_UNIX_PORT
-@tindex Environment variable, MYSQL_TCP_PORT
+@tindex environment variable, MYSQL_UNIX_PORT
+@tindex environment variable, MYSQL_TCP_PORT
Set the @code{MYSQL_UNIX_PORT} and @code{MYSQL_TCP_PORT} environment variables
to point to the Unix socket and TCP/IP port before you start your clients.
If you normally use a specific socket or port, you should place commands