MySQL database connection with help of SSH tunneling
View Single Post
07-10-2008, 10:53 AM
Join Date: Nov 2007
Location: the Netherlands
Well, to login to your mysql demon from ssh cli you use the following command:
> mysql -u username -p
And you are now able to use the mysqld from ssh. You use "quit" to stop using the server.
But may I ask why you want to do it over ssh?
As for the ssh2_* functions, never used them so I can't help you with that :)
Who doesn't like martial arts? =)
View Public Profile
Send a private message to Jim
Visit Jim's homepage!
Find More Posts by Jim