Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5, 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
mariabackup promises to use the current user to connect to the server unless it was specified in options, but it doesn't happen, it attempts to connect with an empty value instead:
10.5 f544a712 |
bin/mariabackup based on MariaDB server 10.5.3-MariaDB Linux (x86_64)
|
-u, --user=name This option specifies the MySQL username used when
|
connecting to the server, if that's not the current user.
|
 |
user (No default value)
|
$ bin/mariabackup --protocol=tcp --backup --target-dir=`pwd`/backup
|
[00] 2020-05-06 20:24:58 Connecting to MySQL server host: localhost, user: not set, password: not set, port: not set, socket: not set
|
[00] 2020-05-06 20:24:58 Failed to connect to MySQL server: Access denied for user ''@'localhost' (using password: NO).
|
Either it should be fixed, or the help text should be changed (which should be done in all versions where it doesn't work).
Attachments
Issue Links
- relates to
-
MDEV-22483 mysql_upgrade does not use current user as default for connecting to server
- Closed
-
MDEV-22485 mysqlslap does not use current user as default for connecting to server
- Closed