MySQL Forums
Forum List  »  Connector/C++

Re: C++ mySQL connection failed
Posted by: Philipp Mitterrutzner
Date: August 20, 2021 01:03PM

I deleted the other root users and created a new one.
The command GRANT ALL PRIVILEGES ON mysql.db * TO 'EQUser' @ 'localhost' IDENTIFIED BY 'Password'; did not work, is it important to execute this command?

+--------+-------------------------------------------+-----------------------+-----------+
| User | authentication_string | plugin | Host |
+--------+-------------------------------------------+-----------------------+-----------+
| root | *62B3E136FE4F77AAF8800E8CCB00046CBADB4F23 | mysql_native_password | localhost |
| EQUser | *532866764BBFE80F70C08D00276345142F558211 | mysql_native_password | localhost |
+--------+-------------------------------------------+-----------------------+-----------+

Options: Reply• Quote


Subject
Views
Written By
Posted
3176
August 19, 2021 02:03AM
1108
August 19, 2021 11:45AM
1141
August 19, 2021 03:00PM
1385
August 19, 2021 03:51PM
1770
August 19, 2021 05:42PM
1049
August 20, 2021 08:00AM
1032
August 20, 2021 10:42AM
1107
August 20, 2021 11:43AM
Re: C++ mySQL connection failed
1209
August 20, 2021 01:03PM
1236
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.