LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to login to mysql (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-login-to-mysql-754848/)

a4kata 09-13-2009 12:14 PM

How to login to mysql
 
Hello, the main question is how I can login as root to my mysql server via ssh ?

pingu 09-13-2009 01:16 PM

I would suggest you start here:

You don't really need to log in via ssh really, just specify server name or ip from your workstation.
So something like:
shell> mysql --user=root --password=your_password db_name --host=server_name


All times are GMT -5. The time now is 11:42 PM.