NovaCrew Posted January 4, 2021 Share Posted January 4, 2021 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. Link to comment
SpecT Posted January 4, 2021 Share Posted January 4, 2021 (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 January 4, 2021 by SpecT Link to comment
NovaCrew Posted January 5, 2021 Author Share Posted January 5, 2021 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 Link to comment
SpecT Posted January 8, 2021 Share Posted January 8, 2021 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)? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now