Created
January 25, 2020 06:03
-
-
Save habibun/c7678fdc52a57f6b7d472e6ee2512f1c to your computer and use it in GitHub Desktop.
ubuntu 18.04 remote root login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To list open ports use the netstat command: | |
netstat -tulpn | grep LISTEN | |
change config: | |
/etc/mysql/mysql.conf.d/mysqld.cnf | |
bind-address = 0.0.0.0 | |
login mysql and run: | |
Grant All Privileges ON *.* to 'user'@'%' Identified By 'pass'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment