MySQL Forums
Forum List  »  Connector/C++

Re: C++ mySQL connection failed
Posted by: Peter Brawley
Date: August 20, 2021 08:00AM

Look in my.ini for default_authentication_plugin. If it's not there, your default is caching_sha2_password.

Let's see the result of ...

select authentication_plugin from mysql.user
where user='root';

It is unsoiund & dangerous for root to have no password.

What is the exact name of the library?

What happens when you try to log into the mysql client program with -uroot -p?

Options: ReplyQuote


Subject
Views
Written By
Posted
1456
August 19, 2021 02:03AM
399
August 19, 2021 11:45AM
435
August 19, 2021 03:00PM
373
August 19, 2021 03:51PM
324
August 19, 2021 05:42PM
Re: C++ mySQL connection failed
321
August 20, 2021 08:00AM
344
August 20, 2021 10:42AM
395
August 20, 2021 11:43AM
503
August 20, 2021 01:28PM


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.