[NEED HELP!] ACCESS DENIED with ghmattimysql?

I am trying to get this to connect to my database for Cops_Fivem, I’m having a lot of errors on it.

set mysql_connection_string “mysql://mysqluser:password@localhost/database”
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The string that I used for server.cfg. What am I doing wrong? Yes I am using Heidi and no it hasn’t got a password…

Any help given to me would be much apricated its getting annoying now lol.

Hello, Please post in the already existing one next time to reduce spam on the forums.

you need a working username and password and actually have to put it in there.

ah how can I do that any ideas please?

start your mysql (mysql.exe) prompt and create a user. There are enough examples on the internet.

then use that user data to login.

Yeah the thing is I already have my database already set up??? (PS I don’t want to really start all over again lol)

no%20password

Im guessing im having to set up yet a new database? In order to get a username and password? Surely there is away of doing it without entering a password?

Create a new one. You do not want to use root.

https://www.google.de/search?q=mysql+create+user

1 Like

Ah right ok thank you for your help its much apricated.

Please do not create new topics for support/questions related to existing resources.

Only ask questions or request support in the original resource topic, or on whatever site/page you got the resource from (for example: create an issue on the GitHub page of the resource that you downloaded).

That way the original resource creator will get a notification and be able to help properly. This also helps to reduce duplicate topics of the same issue, because everything will be inside the original topic, allowing everyone to see all issues and solutions in one place.

Thanks for keeping the forums tidy.

:mascot: