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
e510d134
Commit
e510d134
authored
Aug 10, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi PASSWORD() issue clarified
parent
dfb3e31c
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 @
e510d134
...
...
@@ -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