Displaying 2 results from an estimated 2 matches for "umysql".
Did you mean:
mysql
2009 Aug 27
1
Fatal: Dovecot is already running
...up as a result. Below
is the script I'm using, which includes a check for MySQL:
#!/bin/sh
# A script to automatically start up policyd on system bootup
. /etc/rc.common
ConsoleMessage "dovecot - setting up"
# wait for mysql start up
IS_ALIVE=`/usr/local/mysql/bin/mysqladmin -umysql ping | grep -c
'alive'`
while [ "$IS_ALIVE" != "1" ];
do
sleep 5
ConsoleMessage "dovecot - waiting for MySQL"
IS_ALIVE=`/usr/local/mysql/bin/mysqladmin -umysql ping | grep -c
'alive'`
done
StartService ()
{
ConsoleMessage "Starting dovecot&q...
2008 Sep 03
23
error connecting to mysql
i was trying to setup an application checked out from svnin my local
machine. i managed to do all that is required except when it came to
the step of creating databases for the application, when i tried to
connect to mysql i got this error
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/var/lib/mysql/mysql.sock'' (2)
i have spent more than 5