nss-mysql-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nss-mysql-users] RE: [Nss-mysql-devel] Possible bug in nss-mysql 1.0


From: Nicklas Bondesson
Subject: [Nss-mysql-users] RE: [Nss-mysql-devel] Possible bug in nss-mysql 1.0
Date: Sat, 23 Apr 2005 19:11:03 +0200

Thanks alot for pointing this out. I have stopped pulling my hair out now
looking for a solution! ;)

I simply changed the line calling mysql_safe in my startup script (which btw
is the one that comes with the mysql source dist) to this:

/bin/su mysql -c "$bindir/mysqld_safe --datadir=$datadir
--pid-file=$pid_file >/dev/null 2>&1 &"

Thanks again!

Nicklas

-----Original Message-----
From: Guillaume Morin [mailto:address@hidden 
Sent: den 23 april 2005 18:22
To: Nicklas Bondesson
Cc: address@hidden
Subject: Re: [Nss-mysql-devel] Possible bug in nss-mysql 1.0

Nicklas,

Dans un message du 23 Apr à 12:06, Nicklas Bondesson écrivait :
> I think I have found a bug in nss-mysql 1.0: mysqld crashes when 
> nss-mysql in enabled in /etc/nsswitch.conf during startup of mysqld.

How do you start mysqld?  Do you (or does the script you use) start mysqld
with --user (or -u)?  If this is the case, try changing that into a su -c
"mysqld (your args here without -u)" user.  It should fix your problem.  I
saw that problem before it seems to be a bug in mysqld or in the client
library which gets confused because mysqlf is half-started.

Guillaume.

--
Guillaume Morin <address@hidden>

                N'oublie pas ton sourire pour ce soir si tu sors
                                  (Noir Désir)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]