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
393c6035
Commit
393c6035
authored
Apr 17, 2001
by
jcole@abel.spaceapes.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes to manual.texi.
parent
2542d7d1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
Docs/manual.texi
Docs/manual.texi
+14
-10
No files found.
BitKeeper/etc/logging_ok
View file @
393c6035
sasha@mysql.sashanet.com
monty@donna.mysql.fi
serg@serg.mysql.com
jcole@abel.spaceapes.com
Docs/manual.texi
View file @
393c6035
...
...
@@ -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,15 +37529,16 @@ 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
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
...
...
@@ -37545,8 +37549,8 @@ $dbh = DBI->connect($dsn, $user, $password);
@item
@tindex MYSQL_UNIX_PORT environment variable
@tindex MYSQL_TCP_PORT environment variable
@tindex
E
nvironment variable, MYSQL_UNIX_PORT
@tindex
E
nvironment variable, MYSQL_TCP_PORT
@tindex
e
nvironment variable, MYSQL_UNIX_PORT
@tindex
e
nvironment 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
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