MySQL Forums
Forum List  »  Connector/C++

Re: C++ mySQL connection failed
Posted by: Peter Brawley
Date: August 20, 2021 01:28PM

> GRANT ALL PRIVILEGES ON mysql.db * TO 'EQUser' @ 'localhost' IDENTIFIED BY 'Password';
> did not work, is it important to execute this command?

What is the error message?

Don't you mean something like GRANT ALL PRIVILEGES ON eq.* TO ... ?

You need to read the manual about privileges and GRANT.

Your app needs a user. Non-admin users should not have access.

Options: ReplyQuote


Subject
Views
Written By
Posted
1859
August 19, 2021 02:03AM
536
August 19, 2021 11:45AM
561
August 19, 2021 03:00PM
507
August 19, 2021 03:51PM
440
August 19, 2021 05:42PM
451
August 20, 2021 08:00AM
477
August 20, 2021 10:42AM
521
August 20, 2021 11:43AM
Re: C++ mySQL connection failed
631
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.