Add the following info...  

[admin@www /]$ /etc/rc.d/init.d/mysql start
[admin@www /]$ Starting mysqld daemon with databases from /var/lib/mysql
/usr/bin/safe_mysqld: /var/lib/mysql/www.gargiullo.com.err: Permission
denied
/usr/bin/safe_mysqld: /var/lib/mysql/www.gargiullo.com.err: Permission
denied
tee: /var/lib/mysql/www.gargiullo.com.err: Permission denied
030131 09:31:44  mysqld ended
tee: /var/lib/mysql/www.gargiullo.com.err: Permission denied


030131 09:23:04  mysqld started
030131  9:23:04  Can't start server: Bind on TCP/IP port: Address
already in use
030131  9:23:04  Do you already have another mysqld server running on
port: 3306 ?
030131  9:23:04  Aborting

030131  9:23:04  /usr/sbin/mysqld: Shutdown Complete

030131 09:23:04  mysqld ended



On Thu, 2003-01-30 at 21:32, Michael Gargiullo wrote:
> 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]>
Warp Drive Networks

------------------------- 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