Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ssh -L 9000:localhost:3306 user@example.com
- $ mysql -h localhost -p 9000
- Connection c = DriverManager.getConnection("jdbc:mysql://localhost:9000/dbname","username", "password");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement