Florin,
You may put something like
# wait until mysql is ready
counter=0
while ! mysqladmin \
-h localhost -u user -pPassword ping >/dev/null 2>&1
do
counter=$((counter+1))
if [ $(($counter)) -gt $((200)) ]
then
echo "mysqld start
On Fri, 2002-06-21 at 12:09, Gerald Clark wrote:
> Or better yet,
> add a sleep 2 to the beginning of the init.d program you are starting
> that expects to connect to mysql.
>
> Why slow down the booting for everybody when some other daemon that
> expects to connect to mysql
> can not handle a
Or better yet,
add a sleep 2 to the beginning of the init.d program you are starting
that expects to connect to mysql.
Why slow down the booting for everybody when some other daemon that
expects to connect to mysql
can not handle a failed connect properly?
Florin Andrei wrote:
>The init.d scr