OS X V10.6 Snow Leopard :: Restart Mysql From The Command Line?
Mar 13, 2012
mysqld has a ton of really nice startup options to help me debug my app. However I cannot figure out how to shutdown and restart MySQL from the command line and pass these options to mysqld.Snow Leopard and MySQL 5.1.56 MySQL Community Server.
I have a Power MAC G5 that "has" Tiger 10.4.2 on it. The problem is that it wont boot past "login window starting". So I decided to buy Leopard. Problem is that it keeps kicking the DVD out during the "c" boot. Now I am told the system might need a firmware update for the DVD player. "Apple Superdrive Firmware Update 2.1". Heres my problem: I cant boot into Tiger. I get stuck at the login screen. So I want to know if there is a way to do a firmware update in "Single user mode".
Trying to installed JAMF software on Mac Mini server. One of the configuration steps required setting up a database from the terminal but it requires the MYSQL service to be running and I'm unable to get this service to start.
Server version is: 5.0.8 Current available seems to be : 5.5.24 community server available from h [URL]if I already have several databases running under 5.0.8 what are the hazards with upgrading to 5.5.24 community server?
I use the Command 1, Command 2 keys in QuickTime Pro a lot to resize windows, but all of the sudden those key combos don't function at all. All Command key shortcuts seem to have left the computer.
Not reboot nor Repair Disk Permissions helps. Did I accidentally trigger something with a typo?
Trying to install a .pkg from the command line in single user mode. I'm using the command "installer -pkg Installer.pkg -target / The .pkg is on a mounted USB drive. / is also mounted. When I run the command, the screen scrolls to a new blank line and stays there but nothing happens. The light on my USB indicates no data transfer is happening. I get no output, even if I add -verbose to the command.
Since Tiger and even more so with Leopard, I have found the 'Force Quit' command to be a pointless white elephant.
When the spinning beachball hits it tends to make the application unresponsive and then spread to all other apps. Attempting to bring up the force quit function is equally fruitless. Of course, by the time it eventually pops up, the offending application has either quit itself (I'm looking at you Adobe CS4) or has become responsive again (I'm looking at you Safari).
Has anyone noticed any improvement in Snow Leopards?
Having an issue where Preview is crashing at the end of a Save As (hangs briefly when the progress bar is full, then crashes) -- happens pretty consistently. Running 10.6.1 (on top of a fresh 10.6 install), but happened in 10.6 as well, though perhaps not as often. Have plenty of memory.
One snippet of the crash report: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010 Crashed Thread: 0 Dispatch queue: com.apple.main-thread I have a vague feeling that the issue might not be in Preview, per se, but in the OS.
Courtesy of LifeHacker. I just noticed this little tidbit and thought I'd share it here for those that don't know. Cmd+Shift+Period Toggles Invisible Files in Snow Leopard.
I read somewhere that memtest can be used to test the memory of your mac. I tried it and it didn't even know what memtest was. Is there a way to test the memory in the unix shell?
I want to have the value of the batch command find. I've written the following but it don't work. Perhaps I'm missign something. if [ find /Applications/Autonome/test.log = 0 ] ; then echo "file not found !"
im trying to display "Monday | November 15" and I have "date +%A" to display the weekday, "date +%B" to display the month, and "date +%d" to display the date number.. but somethin like "date +%A | date +%B date +%d" doesnt work.. I know I can create 3 shell boxes to do this, but I rather learn for the future so how do I do this all at once?
so i found pmset for managing power management from the commandline, and it's great. my question is, is there a similar command for controlling the screensaver? all i really want to do is turn it off (or on) remotely.
I cloned a clean 10.5 image over to my main hdd with superduper!. After that I get ugly text commands displayed on my screen when rebooting. I haven't done anything to enable this, not that I know of. How can I disable this? Worst case, maybe my MB is broken?
2009 iMac, external speakers connected to analog audio out. No longer work. System Preferences - Sound - Sound Output only shows built-in speakers. Tried zapping PRAM, tried deleting com.apple.sound.plist from /Library/Preferences. Doesn't show in Audio MIDI Setup either.
I am using ms word mac 11.6.6 with mac OSX 10.6.8 and two times now I have edited a document, tried to save it and it froze up. The error message is "command is not available b/c the document is in modal state".
A good friend who has used Macs professionally for years has asked me to send him a big stack of HTML documents and my instinct is to put them into a tarball, b2zip it, and send him that. I asked whether he could handle it and he told me to send each document separately, uncompressed. I use Linux, so I know you folks have an excellent OS that is BSD-based and can handle lots of bash commands I use. Accordingly I want to tell my friend how to do it all in one easy step from the CLI. He has no idea what I'm talking about, does not know how to get to the CLI, and did not even know Macs have them until I mentioned it to him.
So could you kindly provide my friend with a no-assumptions, comprehensive, clear list of beginner's instructions that will tell him exactly what to do to? He needs to: 1. Get into the CLI 2. Locate the tarball he downloaded from Gmail 3. Unzip it and open it 4. Get out of the CLI and back into the GUI.
I would deal with the tarball this way: $ tar xjvf ./texts.tar.bz2. Could he use that command? I don't have any idea how to leave the graphic world on a Mac. My view is that fulfilling his request will be difficult and a lot of work for him as well if I don't use a tarball, and he needs to learn something about the OS he's using. I'll be interested to see how Mac users do it, as well. Yes, I expect the job can be done in the GUI on a Mac, but as I say, I would like to expand his universe (and mine) just a bit. Dragging him out of the GUI won't hurt him, and the learning experience could give him a bit more respect for the power and flexibility of the OS he uses daily.
Is there a way to gather all the information that we can find in the Activity Monitor (cpu, memory, open file-descriptors for each process) via the Terminal? In fact, I am looking for a procfs (/proc) equivalent.