How to use DB bot for Telegram?

Hello!
Can anyone suggest how to connect database in mysql, in code telegram bot
I downloaded the mamp and created the database I need and want I took from there the information someone has the info to connect DB
Thanks for the reply
April 19th 20 at 12:17
2 answers
April 19th 20 at 12:21
I recommend for such purposes is not mysql, and sqlite3, it is much easier to use, stores everything in one file and personally for me, especially for the bots, the ideal option is not necessary to raise the mysql server, and all at once in Python code.

Find more questions by tags TelegramPython