AXISHK
asked on
SSL tunel to access mysql server
I have two server - ServerA and ServerB
Any idea how to build up ssh to ServerB and forward all MySQL request to ServerB ?
Tks
Any idea how to build up ssh to ServerB and forward all MySQL request to ServerB ?
Tks
Go through this link may be it will help you: https://mediatemple.net/community/products/dv/204403884/tunnel-local-mysql-server-through-ssh
ASKER
ssh -L 3306:localhost:3306 scgadm@sqlserver (after keying password, ssh can be built between ServerA ad SQL Server)
[scgadm@sqlserver ~]$ mysql -h 127.0.0.1 -u root -p xxxx
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Any idea ?
Tks
[scgadm@sqlserver ~]$ mysql -h 127.0.0.1 -u root -p xxxx
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Any idea ?
Tks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tks