-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
standalone mvupdate failed with "caching_sha2_password" not supported #136
Comments
Ich habe versucht das auf einer VM zu testen (Ubunutu 19.10 / Kodi 18.6 / MySqlServer 8.0.19. |
The full error message would help |
I think i found the issue. I guess your are using mvupdate as a standalone from installed phyton env. rather than Kodi? |
Yes, you're right (see the title of this issue :-) ). I run mvupdate on a Linux Server and let Kodi on the raspberry connect to the database. |
yes, took some time to think through it... |
Released to official Kodi Repo in v0.6.4 |
My mvupdate on my Linux server failed since November 12 (took some time to find out) .
Error Message was immediately after start "Database error: -1, Authentication plugin 'caching_sha2_password' is not supported"
Reason for failure was my upgrade from Ubuntu 19.04 to 19.10
Searching for the error message showed that some tools must have changed their default behavoiur concerning the authentication.
I then added in the storemysql.py the auth_plugin line to the database connection command as follows:
--- snip ---
self.logger.info( 'Using MySQL connector version {}', mysql.connector.version )
try:
self.conn = mysql.connector.connect(
host = self.settings.host,
port = self.settings.port,
user = self.settings.user,
password = self.settings.password,
auth_plugin = 'mysql_native_password'
)
try:
cursor = self.conn.cursor()
cursor.execute( 'SELECT VERSION()' )
--- snip ---
So far mvupdate is up and running again.
Unfortunately I'm not familiar with github, providing patches a.s.o., so any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: