[SOLVED] Acess denied to database

Python 3 Server Controller for Trackmania and Shootmania for script-only modes.

Moderators: TheM, toffe, NADEO

Posts: 1
Joined: 30 Nov 2019, 12:11

[SOLVED] Acess denied to database

Post by cimrman65 » 30 Nov 2019, 12:25


I would like to ask for help, please. I am trying to start PyPlanet, but I get this error. I followed old topic here at forum about creating new profile, but it did not help.

Code: Select all

INFO     [Main][pyplanet.core.management.commands.start] Initiated configuration and environment...
INFO     [Main][pyplanet.core.management.commands.start] -------------------------------[  PyPlanet v0.7.1  ]-------------------------------
INFO     [MainThread][pyplanet.god.process] Starting pool process for 'default'...
ERROR    [default][pyplanet.core.instance] (1044, "Access denied for user ''@'localhost' to database 'the_server_db'")
Code from base.py:

Code: Select all

        'default': {
                'ENGINE': 'peewee_async.MySQLDatabase',
                'NAME': 'the_server_db',
                'OPTIONS': {
                        'host': 'localhost',
                        'user': 'new_user',
                        'password': '',
                        'charset': 'utf8mb4',
I do not really understand these things, so I do what tutorial tells me or what I find on Google. Thanks for any help.

User avatar
Posts: 15384
Joined: 05 Apr 2011, 19:10
Location: Europe

Re: Acess denied to database

Post by TMarc » 30 Nov 2019, 13:53

I don't know much about pyplanet,
but it looks like you're not passing the correct user there: the log shows user ''@'localhost',
But it should be 'new_user' (or 'new_user@localhost'), right?

Check your pyplanet configuration, where the database access is specified.
Also look into the documentation of pyplanet.
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia RTX 2060 6GB, Creative SB X-Fi, 2xSSD 1xHDD
Discord: TMarc#3002

User avatar
Posts: 771
Joined: 15 Jun 2013, 10:57
Location: The Netherlands

Re: [SOLVED] Acess denied to database

Post by toffe » 07 Apr 2020, 13:50

If you still suffer from any issue, please contact me on Discord. https://pypla.net/en/latest/support.html


Return to “PyPlanet”

Who is online

Users browsing this forum: No registered users and 1 guest