472,371 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 software developers and data experts.

mysqld_safe not so safe!

running mysqld_safe --help to check the options for mysqld_safe, and
instead of a warning or an error or hell no, "help". it deletes the
mysql.sock for the currently running instance and tells me it cannot
start. this isn't particularly helpful or "safe". i would have though
the something that includes the word "safe" might actually be ...
somewhat safe.

perhaps checking to see if the command line is valid, and if there is
an instance already running before deleting the mysql.sock file, maybe
even a warning "hey i am going to remove this, is this ok" which could
be disabled via a command line option.

from the man page

"mysqld_safe adds some safety features such as restarting the
server when an error occurs and logging run-time information to a log
file."

it would be handy if they had added a few more.

sorry, now i have to figure out when i can shutdown these databases to
recreate the mysql.sock file.

end rant

c
Jul 20 '05 #1
1 1583
art
Craig A. Falls wrote:
running mysqld_safe --help to check the options for mysqld_safe, and
instead of a warning or an error or hell no, "help". it deletes the
mysql.sock for the currently running instance and tells me it cannot
start. this isn't particularly helpful or "safe". i would have though
the something that includes the word "safe" might actually be ...
somewhat safe.

perhaps checking to see if the command line is valid, and if there is
an instance already running before deleting the mysql.sock file, maybe
even a warning "hey i am going to remove this, is this ok" which could
be disabled via a command line option.

from the man page

"mysqld_safe adds some safety features such as restarting the
server when an error occurs and logging run-time information to a log
file."

it would be handy if they had added a few more.

sorry, now i have to figure out when i can shutdown these databases to
recreate the mysql.sock file.

end rant

c

safe dose mean what you said above it is refering to the code level
quality as opposed to mysql_multi.
Besides it looks like you have some config issues like env probs.
mysql is almost as bad a oracle without support. But does not cost as
much. I think mysql pretty good for a data base server but for the
install well lets just say if work was a pinic then no one would hire me.
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Craig A. Falls | last post by:
running mysqld_safe --help to check the options for mysqld_safe, and instead of a warning or an error or hell no, "help". it deletes the mysql.sock for the currently running instance and tells me...
1
by: Roger Lord | last post by:
I'm running FreeBSD 4.10 stable with mysql 5.0.0-alpha. If I type "ps auxwww | grep mysqld" mysql 180 0.0 2.6 44220 13688 ?? S 11:53AM 0:00.11 /usr/local/libexec/mysqld...
9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
11
by: dee | last post by:
OleDbCommand class like many .NET classes has the following description in its help file: "Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for...
0
by: gm | last post by:
Immediately after generating the Access application from the Source Safe project I get: "-2147467259 Could not use ''; file already in use." If Access database closed and then reopened I get:...
15
by: Laser Lu | last post by:
I was often noted by Thread Safety declarations when I was reading .NET Framework Class Library documents in MSDN. The declaration is usually described as 'Any public static (Shared in Visual...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
1
by: jecheney | last post by:
Hi, Im currently using the following code for reading/writing to a network socket. private StreamReader clientStreamReader; private StreamWriter clientStreamWriter; .... TcpClient tcpClient...
4
by: George2 | last post by:
Hello everyone, Here is Bjarne's exception safe sample, http://www.research.att.com/~bs/3rd_safe.pdf template <class Tclass Safe {
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.