GRANT ALL ON *.* TO root@192.168.1.1 IDENTIFIED BY 'palavra-pass' WITH GRANT OPTION;
FLUSH PRIVILEGES;
We just have to tell Mysql to allow remote logins.
sudo vi /etc/mysql/my.cnf
Out-of-the-box, MySQL only allows connections from the localhost identified by the IP Address of 127.0.0.1.
We need to remove that restriction, so find the line that says
bind-address = 127.0.0.1
netstat -tupan | grep mysql
Subscribe to:
Post Comments (Atom)
systemd-timesyncd
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd
-
sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
-
sudo aptitude install sendemail sudo aptitude install libio-socket-ssl-perl sendEmail -f xxx@gmail.com -t xxx@gmail.com -u Teste_Assunt...
No comments:
Post a Comment