Don't have Telegram yet? Try it now!
https://blog.offline-net.com/2017/06/18/mariadb-datadir-change/
MariaDB(MySQL):データディレクトリの変更方法