MySQL Forums
Forum List  »  InnoDB clusters

mysqlsh \c fails (1045) but \c --mysql is OK
Posted by: Dan Cvrcek
Date: April 15, 2019 04:03AM


Mysql 8.0.15, Centos7

I had to restore an Innodb cluster inlcuding root users. It seems to be working properly (although I had a problem when the master changed).

However, when I try to connect with mysqlsh, I have to include "--mysql" flag. The log file doesn't show anything - debug/debug2/debug3 shows only this (after the password is typed in)

2019-04-15 09:50:24: Error: MySQL Error 1045: Access denied for user 'root'@'' (using password: YES)

2019-04-15 09:50:24: Debug:

2019-04-15 09:50:24: Debug: Match '*;;*' vs ';;'
2019-04-15 09:50:24: Debug: Match '' vs ''

Interestingly - I tried to connect to - (a3 is where I had an active connection).

The list of users contains
| root | |
| root | |

as well as an entry for the VLAN
| root | 10.% |

I'm at my wit ends.


Options: ReplyQuote

Written By
mysqlsh \c fails (1045) but \c --mysql is OK
April 15, 2019 04:03AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.