2
I’m trying to make a connection via ODBC with the Mysql Database to access data in Excel, but after performing all necessary settings the following error window is shown to me:
So I set up the connector:
If you have any idea what might be causing such an error, or what you would need to change in the configuration
In the first picture it is indicated that the user Reports does not have access. Already checked if it exists in the bank?
– Ismael
@Smael Yes, the user Reports exists in the bank
– R.Santos
Have you done the
GRANT ALL PRIVILEGES
?– Ismael
@But I didn’t, what would that be? How can I execute it?
– R.Santos
Although the Reports user is created, it is necessary to grant you the permissions necessary for remote access. I’ll post an answer with this command.
– Ismael
@Bacco Why duplicate if my question does not involve PHP but ODBC?
– R.Santos
Because ODBC is irrelevant to the question, so is PHP in the other. The problem is only of Mysql. If you try to access directly (without ODBC) you will have the same problem. Note that including, the answers are the same in both cases. You need to authorize your user in Mysql, either with the GRANT command, or with some utility like Mysql Workbech, or Mysql Database Administrator.
– Bacco