Skip to content

How to set up the mysql server on the bot? #3

Closed Locked Answered by e-enes
babuphanish asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

You can put the information of your mysql database on the .env file as given in the example.

# Discord Bot Info
TOKEN=

# MySQL Server Info
HOST= # The IP of your MySQL server
PORT= # The port of your MySQL server, if you do not have a port, leave blank.
USER= # The username to connect to your MySQL database
PASSWORD= # Your username password
DATABASE= # Finally the name of the database

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by babuphanish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants