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
27d2057c
Commit
27d2057c
authored
Nov 21, 2001
by
monty@tik.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added note to manual that usernames in GRANT don't allow wildcards.
parent
75a274fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
Docs/manual.texi
Docs/manual.texi
+12
-7
No files found.
Docs/manual.texi
View file @
27d2057c
...
@@ -15941,14 +15941,19 @@ You can specify wild cards in the hostname. For example,
...
@@ -15941,14 +15941,19 @@ You can specify wild cards in the hostname. For example,
for any host in the @code{144.155.166} class C subnet.
for any host in the @code{144.155.166} class C subnet.
The simple form @code{user} is a synonym for @code{user@@"%"}.
The simple form @code{user} is a synonym for @code{user@@"%"}.
MySQL doesn't support wildcards in user names. Anonymous users are
defined by inserting entries with @code{User=''} into the
@code{mysql.user} table or creating an user with an empty name with the
@code{GRANT} command.
@strong{Note:} If you allow anonymous users to connect to the MySQL
@strong{Note:} If you allow anonymous users to connect to the MySQL
server (which is the default), you should also add all local users as
server, you should also grant privileges to all local users as
@code{user@@localhost} because otherwise the anonymous user entry for the
@code{user@@localhost} because otherwise the anonymous user entry for
local host in the @code{mysql.user} table will be used when the user tries to
the local host in the @code{mysql.user} table will be used when the user
log into the MySQL server from the local machine! Anonymous users
tries to log into the MySQL server from the local machine!
are defined by inserting entries with @code{User=''} into the
@code{mysql.user} table. You can verify if this applies to you by executing
You can verify if this applies to you by executing this query:
this query:
@example
@example
mysql> SELECT Host,User FROM mysql.user WHERE User='';
mysql> SELECT Host,User FROM mysql.user WHERE User='';
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