Last active
December 31, 2015 09:09
-
-
Save shafi-codez/7965032 to your computer and use it in GitHub Desktop.
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
GRANT ALL ON test.* TO root@'192.168.1.66' IDENTIFIED BY 'letmein'; | |
GRANT ALL ON test.* TO root@'192.168.1.66' IDENTIFIED BY '-7stesle'; | |
SELECT host, user FROM user; | |
GRANT ALL ON *.* to root@'%' IDENTIFIED BY '-7stesle'; | |
telnet 64.131.110.162 3306 | |
http://orangletrik.wordpress.com/2013/06/29/mysql-open-port-3306-on-ubuntu/ | |
# DB Creation | |
create database iitmsa; | |
grant usage on *.* to root@localhost identified by 'iitmsa'; | |
grant all privileges on iitmsa.* to root@localhost ; | |
flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT