--MySQL
--Two have more than one connection from Windows to a Linux computer
--first on the Linux computer
--modify the MySQL file
--Deux ont plus d'une connexion de Windows à un ordinateur Linux
--d'abord sur l'ordinateur Linux
--modifier le fichier MySQL
--sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
--edit the line
--modifier la ligne
--bind-address = 127.0.0.1
--to
--a
--bind-address = 0.0.0.0
--and save
--and
--Et enregistrer
--et
--sudo systemctl restart mysql
--two open the port 3306
--deux ouvrir le port 3306
--sudo iptables -A INPUT -p tcp --destination-port 3306 -j ACCEPT
--mysql -u root -p
--third create a user
--troisième créer un utilisateur
--CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'user_password';
--or to have any ip address
--ou pour avoir ne porte quel adresse ip
--CREATE USER 'newuser'@'%' IDENTIFIED BY 'Password1$';
--fourth grant privileges to that user
--quatrième accorder des privilèges à cet utilisateur
--GRANT ALL PRIVILEGES ON database_name.* TO 'newuser'@'localhost';
--or to have all databases
--ou pour avoir tout les databases
--GRANT ALL ON *.* TO 'newuser'@'%';
--and
--et
--FLUSH PRIVILEGES;