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
0f670051
Commit
0f670051
authored
Aug 10, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi PASSWORD() issue clarified
Docs/manual.texi: PASSWORD() issue clarified
parent
7f6b82ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
Docs/manual.texi
Docs/manual.texi
+7
-4
No files found.
Docs/manual.texi
View file @
0f670051
...
...
@@ -17406,10 +17406,13 @@ mysql> FLUSH PRIVILEGES;
The result is that the plaintext value @code{'biscuit'} is stored as the
password in the @code{user} table. When the user @code{jeffrey} attempts to
connect to the server using this password, the @code{mysql} client encrypts
it with @code{PASSWORD()} and sends the result to the server. The server
compares the value in the @code{user} table (the encrypted value of
@code{'biscuit'}) to the encrypted password (which is @emph{not}
@code{'biscuit'}). The comparison fails and the server rejects the
it with @code{PASSWORD()}, generates an authentification vector
based on @strong{encrypted} password and a random number,
obtained from server, and sends the result to the server.
The server uses the @code{password} value in the @code{user} table
(that is @strong{not encrypted} value @code{'biscuit'})
to perform the same calculations, and compares results.
The comparison fails and the server rejects the
connection:
@example
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