#Discord bot, Database

16 messages · Page 1 of 1 (latest)

outer briar
#

Does anyone know how can I solve this?
I'm trying to make a connection to a database in Bisect through the bot, but seems I can't connect to it using the username and pass provided?
All I get in console is
mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user

verbal hazel
#

You can’t do CREATE DATABASE queries

outer briar
verbal hazel
#

Oh wait are you hosting the database through bisect as well or are you hosting it elsewhere?

#

So yeah it is

outer briar
#

Should I host it somewhere else then?

verbal hazel
#

And your queries respect the database name? In a query you could add a clause that would use a different database than you’re connected to

verbal hazel
outer briar
verbal hazel
verbal hazel
#

Your queries use utf8mb4_0900_ai_ci but the server uses utf8mb4_unicode_ci

outer briar