How can I log in to mysql via command line in a VS?

Is it even possible? or do I have to use phpMyAdmin?

I want to add a DB and dump data into it.

[root@www /]# ps ax
  PID TTY      STAT   TIME COMMAND
 1648 ?        S      0:00 vsdredirect xx.xx.xx.29:80:8080
 1650 ?        S      0:00 vsdredirect xx.xx.xx.29:443:8443
 2751 ?        S      0:00 /usr/sbin/crond
 2753 ?        S      0:00 /sbin/syslogd -m 0 -p /var/run/log
 2754 ?        S      0:00 /usr/sbin/atd
 2782 ?        S      0:00 su - mysql -c /usr/bin/safe_mysqld
--bind-address=xx.xx.xx.29
 2785 ?        S      0:00 sh /usr/bin/safe_mysqld
--bind-address=xx.xx.xx.29
 2786 ?        S      0:00 /usr/sbin/sshd
 2805 ?        SN     0:00 /usr/sbin/mysqld --basedir=/
--datadir=/var/lib/mysql --pid-file
 2807 ?        SN     0:00 /usr/sbin/mysqld --basedir=/
--datadir=/var/lib/mysql --pid-file
 2808 ?        SN     0:00 /usr/sbin/mysqld --basedir=/
--datadir=/var/lib/mysql --pid-file
 2911 ?        S      0:00 /bin/bash
 2955 ?        R      0:00 ps ax
[root@www /]# mysql -u root
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)

-- 
Michael Gargiullo <[EMAIL PROTECTED]>

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to