Download >>> https://byltly.com/281o5b
Installing mysql command line client for linux. This tutorial will show you how to install the mysql command line client on your Linux system. The purpose of the tutorial is to help you install mysql, either because you can't find it in your package manager or because you want a newer version than is available. Let's get started! 1) Update your Apt cache: sudo apt-get update 2) Install dependencies: sudo apt-get install libc6 libreadline6 libpython2. 7-minimal libexpat1 unixodbc unixodbc-dev python 3) Install mysql: sudo apt-get install mysql-server 4) Configure mysql to autostart at boot. This is important if you want your MySQL server to start automatically when the computer starts. Contents of the /etc/systemd/system/multi-user.target.wants/mysql.service file: 5) Restart the systemd service: sudo systemctl restart multi-user.target. wants/mysql.service 6) To test mysql: Type: sudo -u root mysql.server start Type: sudo -u root mysql7) Change Root Password: you can change the root password by typing the following command in terminal. 8) Create a user named ts3bot and add it to mysql server. (Note: check if your username is ts3bot, example for username=ts3bot, password=ts3bot) 9) Stop MySQL server and restart MySQL server with the new User and Password. Restarting MySQL server will make sure that all databases are available at next steps.. 10) Configure ts3bot.ini. 11) To start MySQL server type the following command in terminal: sudo service mysql start 12) Connecting to MySQL server using mysql -u -p command13) Stop ts3bot from starting at boot with the following command: sudo update-rc.d ts3bot disable14) Start and Debbuging Ts3Bot: to start and debugging ts3bot, use this command: sudo . / ts3bot_start.sh. To stop debugging use this command: sudo . / ts3bot_stop.sh15) To connect to mysql server using the mysql command line client, type the following command in terminal: mysql -u -p 16) If you want to see all of your bots from MySQL server, use this comand: select * from bot - If you want to see the default bot from MySQL server without any bot id, then you can use this comand: select * from bot limit 1; -17) UPDATE ts3bot schema : Lets update your sql schema if failed on first attempt. cfa1e77820
Comentarios