Jump to content

[HELP] MySQL Access denied


NovaCrew

Recommended Posts

Posted

So, I wanted to connect my server with a database BUT:

WARNING: DB2/sql.lua:16: Bad usage @ 'dbConnect' [Access denied for user '813466'@'%' to database '809080_']

 WARNING: rpg_database/s_db.lua:33: Bad usage @ 'dbConnect' [Access denied for user '813466'@'%' to database '809080_']

And here are my setting:

DBHandler=nil
DBName="809080_"  -- NAZWA BAZY DANYCH | WAŻNE
DBUser="xxxx" -- LOGIN DO BAZY DANYCH | WAŻNE
DBPass="xxxx" -- HASLO DO BAZY DANYCH | WAŻNE
DBHost="sql.pukawka.pl" -- IP BAZY DANYCH | WAŻNE

and

SQL = dbConnect("mysql", "dbname=809080_;host=sql.pukawka.pl","herelogin","herepassword","share=1")

This is my first time dealing with mysql so I don't know where i've made a mistake. Help would be very appreciated.

Posted (edited)

It's either wrong credentials or remote access is not allowed (if the db and MTA server are hosted on different machines).

Are you sure username and password are correct ?

Edited by SpecT
Posted
20 hours ago, SpecT said:

It's either wrong credentials or remote access is not allowed (if the db and MTA server are hosted on different machines).

Are you sure username and password are correct ?

Yes, the password and username are correct

Posted
On 05/01/2021 at 15:27, NovaCrew said:

Yes, the password and username are correct

Then have you checked the second thing I wrote you above (remote access)?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...