Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL starting with '--skip-locking' switch. Help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Mon Sep 08, 2003 4:06 am    Post subject: MySQL starting with '--skip-locking' switch. Help! Reply with quote

Hi!

I just ran 'ps ax' and noticed that our MySQL database is starting with the '--skip-locking' switch. This MUST be removed.

I had a look in the /etc/init.d/mysql script, and couldn't see any mention of it.

WTF?

Is this included at build time or something?
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 596
Location: USA

PostPosted: Mon Sep 08, 2003 3:09 pm    Post subject: Reply with quote

try looking in /etc/mysql/my.conf. Most switches are in there.
Back to top
View user's profile Send private message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Mon Sep 08, 2003 11:55 pm    Post subject: Reply with quote

Yeah I checked there - no mention of it.

Does anyone have MySQL running without the --skip-locking switch?
Maybe I should compile it myself...
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Tue Sep 09, 2003 12:08 am    Post subject: Reply with quote

What about adding "enable-locking" under "[mysqld]" in /etc/mysql/my.cnf? I think that should override the --skip-locking flag in /usr/bin/mysqld_safe.
Back to top
View user's profile Send private message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Tue Sep 09, 2003 1:52 am    Post subject: Reply with quote

I'll add that. Thanks.

I'd already added --enable-locking to the startup flags, but I was unsure which one would win. I'll check on the MySQL list.

Just out of interest - is there any reason why we still need to have --skip-locking as the default. If I remember correctly, this was from way back when it ( locking ) was a bit wobbly under the old ( very old ) glibc - or something like that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum