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
1b87b1d4
Commit
1b87b1d4
authored
Dec 06, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos in boolean fulltext search text.
Replaced Gates fun.
parent
5d4d0fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Docs/manual.texi
Docs/manual.texi
+10
-10
No files found.
Docs/manual.texi
View file @
1b87b1d4
...
...
@@ -13796,12 +13796,12 @@ privileges according to your identity and @strong{what you want to do}.
MySQL considers both your hostname and user name in identifying you
because there is little reason to assume that a given user name belongs to
the same person everywhere on the Internet. For example, the user
@code{
bill} who connects from @code{whitehouse.gov
} need not be the same
person as the user @code{
bill} who connects from @code{microsoft
.com}.
@code{
joe} who connects from @code{office.com
} need not be the same
person as the user @code{
joe} who connects from @code{elsewhere
.com}.
MySQL handles this by allowing you to distinguish users on different
hosts that happen to have the same name: you can grant @code{
bill
} one set
of privileges for connections from @code{
whitehouse.gov
}, and a different set
of privileges for connections from @code{
microsoft
.com}.
hosts that happen to have the same name: you can grant @code{
joe
} one set
of privileges for connections from @code{
office.com
}, and a different set
of privileges for connections from @code{
elsewhere
.com}.
MySQL access control involves two stages:
...
...
@@ -34043,7 +34043,7 @@ mysql> SELECT * FROM articles WHERE MATCH (title,body) AGAINST (
This query retrieved all the rows that contain the word @code{MySQL}
(note: 50% threshold is gone), but does @strong{not} contain the word
@code{YourSQL}. Note, that it does not auto-magically sort rows in
de
rc
easing relevance order (the last row has the highest relevance,
de
cr
easing relevance order (the last row has the highest relevance,
as it contains @code{MySQL} twice). Boolean fulltext search can also
work even without @code{FULLTEXT} index, but it would be @strong{slow}.
...
...
@@ -34086,11 +34086,11 @@ find rows that contain at least one of these words.
... word ``apple'', but rank it higher if it also contain ``macintosh''
@item +apple -macintosh
... word ``apple'' but not ``macintosh''
@item +
gates +(>hell <bil
l)
... ``
hell'' and ``gates'', or ``bill'' and ``gates
'' (in any
order), but rank ``
gates to hell'' higher than ``bill gates
''.
@item +
apple +(>pie <strude
l)
... ``
apple'' and ``pie'', or ``apple'' and ``strudel
'' (in any
order), but rank ``
apple pie'' higher than ``apple strudel
''.
@item apple*
... ``apple'', ``apples'', ``applesau
s
e'', and ``applet''
... ``apple'', ``apples'', ``applesau
c
e'', and ``applet''
@end table
@menu
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