Putty comments to access mysql

ssh -l dev -p 14223 104.245.125.200

(ssh -l dev(username) -p 14223(port) 103.532.123.100 (host))

mysql -uroot -pGsdERx

(mysql -uroot(username) -pGsdERx(password))

show database

use 1degreeword(database name)

show tables;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s