Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.5, 5.5(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
Description
mysqlslap promises to use the current user to connect to the server unless it was specified in options, but it doesn't happen, it prints no default value in help and connects as root instead,
10.5 f544a712 |
$ bin/mysqlslap --help | grep user
|
-u, --user=name User for login if not current user.
|
user (No default value)
|
200506 20:34:26 10 Connect root@localhost as anonymous on
|
11 Connect root@localhost as anonymous on mysqlslap
|
12 Connect root@localhost as anonymous on mysqlslap
|
13 Connect root@localhost as anonymous on mysqlslap
|
200506 20:34:27 14 Connect root@localhost as anonymous on mysqlslap
|
15 Connect root@localhost as anonymous on mysqlslap
|
16 Connect root@localhost as anonymous on mysqlslap
|
17 Connect root@localhost as anonymous on mysqlslap
|
18 Connect root@localhost as anonymous on mysqlslap
|
19 Connect root@localhost as anonymous on mysqlslap
|
20 Connect root@localhost as anonymous on mysqlslap
|
I suppose the easiest would be to change the help text.
Attachments
Issue Links
- relates to
-
MDEV-22483 mysql_upgrade does not use current user as default for connecting to server
- Closed
-
MDEV-22484 mariabackup does not use current user as default for connecting to server
- Open