#how to connect database to skript to get a value?

1 messages · Page 1 of 1 (latest)

glad bough
#

I am making a plot skript where i need to save the plot price and plot owned status in a database but i dont know how to do this on 1.16.5 can someone maybe help me?

obtuse skiff
#

a database addon

glad bough
#

I am trying to use Skript-db but i get this error when trying to connect my database to the skript

#

and i followed the docs

obtuse skiff
#

sounds like an invalid amount or placement of brackets

glad bough
#

yeah but i cant find where because i just filled in what they asked

obtuse skiff
#

should maybe send code then

glad bough
#

I’ll send when I get back home

plush stone
#

well, it looks like the issue is on line 62

glad bough
#

the example: mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false

whats in our code mysql://IP FROM SERVER:3306/DATABASE NAME?user=USERNAME&password=OUR PASSWORD&useSSL=false

obtuse skiff
#

probably doesn't like one of the parameters

#

might have a %, " or # in it

glad bough
#

yeah in the password

#

so that it?

#

Thank you xd