Skip to content

Instantly share code, notes, and snippets.

@shafi-codez
Last active December 31, 2015 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shafi-codez/7965032 to your computer and use it in GitHub Desktop.
Save shafi-codez/7965032 to your computer and use it in GitHub Desktop.
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;
@shafi-codez
Copy link
Author

iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment