OS X Technologies :: How To Start MySQL From The Command Line

Mar 13, 2012

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.

Info:
MacBook & MacAir & iMac, MacAir 10.5.x -- iMac 10.6.x

View 1 Replies


ADVERTISEMENT

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.  

Info:
MacBook & MacAir & iMac, MacAir 10.5.x -- iMac 10.6.x

View 6 Replies View Related

OS X Technologies :: MYSql Doesn't Start After Restoring Harddrive From TM Backup?

Jun 11, 2012

Macbook Pro running Lion V 10.7.4 .After a hard drive failure this weekend, I restored frm my most recent backup.Unfortunately this did not include svn, host file changes and some other fairly easy to correct things.The one that has been giving me trouble for the last 8 hours is mysql. I have gone through and removed mysql (multiple times) and did fresh installs. Each time I was getting the error: 

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38) 

Even after changing my /etc/my.cnf file to point to var/lib/mysql/mysql.sock I would get these errors.  

Are there multiple locations where mysql points to /tmp/mysql.sock?  

I am at a loss of what to do. I have uninstalled reeinstalled. Tried many different solutions all to reeive the same error. 

Info:
Mac OS X (10.7.4)

View 4 Replies View Related

OS X Technologies :: Displaying Console (All Messages) In Command Line

Mar 30, 2012

How can I display Console's 'All Messages' in command line?

Info:
MacBook Pro, Mac OS X (10.7.3)

View 3 Replies View Related

OS X Technologies :: Command Line Editing -- Move Quickly

Jun 21, 2012

Macintosh-HD -> Applications -> Utilities -> Terminal

I'm running bash.

I have a long command line:

/Users/mac/Sites/bithoist/BitHoist-PPC-MacOS-X   -offset 0x0000  /Users/mac/Sites/bithoist/commandLine/bins/aSunbird.bin   -stdout -hex   -r 0x0000,0x002f 

I'd like to move quickly to the last 0 in -offset 0x0000. 

I know about control + a and I found out about esc + f.  I do not find pressing esc then f then esc then f that easy.  I'd like to at least be able to hold down the esc key and press f's. 

Could I redefine a word to only be " " (space) in the terminal?  Not sure I like this idea. 

Info:
iMac G3 600, Mac OS X (10.4.11)

View 4 Replies View Related

OS X Technologies :: Changing The Keyboard Input Source From Command Line?

May 3, 2012

Is anybody know if there is a way to switch to a particular "input source" (keyboard) with a command line? (or with Apple Script).

Not switch to the next or the previous, but to a specific one. Like switch to "Canadian French" or "Us English".

View 1 Replies View Related

OS X Technologies :: Change Mamp MYSQL Password?

Jun 30, 2012

I use the normal command line and i get this message.

error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Info:MacBookPro, Mac OS X (10.7.4)

View 2 Replies View Related

Software :: MySQL Will Not Start?

Apr 14, 2008

I just bought a new Macbook Pro 2.4 and starting fixing it with only fresh installs. I installed the OS X 10.5 (x86_64) pak. It was running fine until now.

The start/stop in the pref.pane don't work and if I do a "mysql start" in the terminal I get:

Quote:

MacBookPro:~ matsaki$ mysql start ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I tried to reinstall but it did not help. What's bugging? And what to do?

View 7 Replies View Related

OS X Server V10.6 Snow Leopard :: Unable To Start MYSQL Service On Mac Mini

Apr 20, 2012

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.

Info:
Mac mini, Mac OS X (10.6.3)

View 1 Replies View Related

OS X :: Use Installer From Command Line?

Oct 29, 2009

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.

View 10 Replies View Related

OS X :: Test Memory From Command Line In 10.5?

Apr 22, 2008

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?

View 3 Replies View Related

Software :: Getting Value Of Find Command Line

Sep 9, 2008

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 !"

View 1 Replies View Related

OS X :: Command Line To Use To Kill A Process Using Its Name?

Oct 14, 2008

Can anyone tell what is the command line to use to kill a process using its name.
I'm on Mac OS X 10.4 Tiger PPC et Mac OS X 10.5 Leaopard Intel

View 1 Replies View Related

OS X :: Geektool - More Then 1 Function In Command Line?

Nov 15, 2010

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?

View 1 Replies View Related

OS X :: Command Line Configuration Of Screensaver?

Mar 29, 2006

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.

View 3 Replies View Related

OS X :: Echo Command - New Line BEFORE Text

Mar 14, 2009

Sure echo -n (text) let's you output something in a new line, but is there anyway to make that line the first line in a txt document?

View 7 Replies View Related

OS X :: How To Disable Command Line When Booting

Jun 7, 2009

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?

View 11 Replies View Related

OS X :: Uninstall Applications With Command Line

Aug 26, 2009

Does anyone know how to do this? I've installed many Applications (compiling from source) with the command line, but how do I uninstall them?

View 16 Replies View Related

OS X :: List Partitions In Command Line

Sep 17, 2009

I'm looking for the command that I can use to list all (even not mounted) partitions in OSX. The Linux command is

View 3 Replies View Related

OS X Mavericks :: How To Use Winrar Command Line

Nov 30, 2014

i just got a new macbook air and how to use the winrar command line..i've already downloaded it

Info:
MacBook Air (13-inch, Early 2014), OS X Mavericks (10.9.4)

View 1 Replies View Related

OS X :: Command Line Interface And B2zipped Tarball

Aug 30, 2010

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.

View 3 Replies View Related

OS X :: Capture Video From Isight Via Command Line?

Dec 19, 2008

I've just managed to run isightcapture to capture webcam pictures via command line and now I'd like to capture the video/audio stream.

View 2 Replies View Related

OS X :: Activity Monitor Command Line Equivalent

Nov 12, 2009

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.

View 12 Replies View Related

Software :: Downloading A File From Command Line?

May 22, 2010

I connect to a computer through ssh, but I want to download a file through the commandline on that computer, found in an ftp website: [URL]

how to I do this?

View 3 Replies View Related

ITunes :: Any Command Line Interface Manual?

Feb 11, 2012

Is there a command line interface manual?

View 1 Replies View Related

OS X V10.7 Lion :: Remove A Program From Command Line?

May 20, 2012

I installed the FLAC Tools for Mac OSX a while back onto my machine, which added a program to the command line of "Terminal.app", and allowed me to convert media from and to the FLAC format using the command line, by simply running the command: 

flac

in the Terminal.However, now I no longer need the ecoder installed on my computer; the question is, if it's a command line based program 

Info:iMac Intel Core i3, Mac OS X (10.6.8), ATI Radeon HD 4670, 4GB DDR3 Memory

View 3 Replies View Related

OS X Yosemite :: How To Create Tags From Command Line

Dec 9, 2014

I need to create 1000 tags on my OS-X Yosemite, is there a way to do this from command line?

Info:
MacBook Pro with Retina display, OS X Yosemite (10.10.1)

View 3 Replies View Related

OS X Yosemite :: Can't Type In The Letter (O) In Command Line

Dec 4, 2014

When I tried to type the letter 'o' in Terminal, the application just wouldn't let me and keeps flashing every time I press the 'o' key. I searched the internet but can't find the solution for this issue. Disabling me from typing this certain alphabet has caused me a lot of inconvenience..

Info:
MacBook Pro, OS X Yosemite (10.10.1)

View 2 Replies View Related

OS X Technologies :: Enscript Cannot Add Line Numbers

Feb 29, 2012

I recently figured out which flags to use to keep the "over" script from being horribly bland and not much better than straight less.

enscript -E -p- --line-numbers --quiet --language=ansi --color --style=emacs "$*" 2>&1 | less

My only problem with this setup is that the line numbers are missing. I can pass in the -c flag, or --line-numbers, it doesn't matter: I never get line numbers. And I tried installing enscript on my linux box too and it also leaves out the line numbers. Does anyone have any ideas, or at least know the last working version of enscript?

Info:MacBook Pro (15-inch Mid 2009), Mac OS X (10.7.3), 3GHz, 8Gb RAM, 40GB SSD + 750GB HDD

View 2 Replies View Related

Desktops :: Application Install And Command Line Input

Dec 22, 2010

I've just installed the BRL-CAD application and it need a command line input (/usr/brlcad/bin) to the System - see below. I am not that familiar with the commands although no problem getting into the Terminal. I just don't want to screw this up. I am running a Mac Mini, 2.66 Ghz Intel Core 2 Duo, 4 GB RAM, OS 10.6.5. I need some step-by-step info in getting this embedded and the application up and running.

Setting Up the Path:
Once installed, you will need to add /usr/brlcad/bin to your system
PATH. For Bourne shell users, you can run the following:
PATH=/usr/brlcad/bin:$PATH ; export PATH
For C shell users, this should do the same thing:
set path=( /usr/brlcad/bin $path ) ; rehash

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved