Re: C++ mySQL connection failed
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?
Subject
Views
Written By
Posted
2384
August 19, 2021 02:03AM
688
August 19, 2021 11:45AM
702
August 19, 2021 12:42PM
716
August 19, 2021 03:00PM
821
August 19, 2021 03:30PM
635
August 19, 2021 03:51PM
596
August 19, 2021 04:43PM
636
August 19, 2021 05:42PM
576
August 20, 2021 05:42AM
Re: C++ mySQL connection failed
599
August 20, 2021 08:00AM
653
August 20, 2021 08:26AM
602
August 20, 2021 10:42AM
638
August 20, 2021 10:56AM
658
August 20, 2021 11:43AM
670
August 20, 2021 01:03PM
771
August 20, 2021 01:28PM
586
August 20, 2021 01:42PM
640
August 21, 2021 12:27PM
701
August 23, 2021 01:26PM
763
August 30, 2021 04:47PM
734
August 19, 2021 12:50PM
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.