Installing mysql:sudo launchctl: command not found

Thread Tools Search this Thread
Top Forums Web Development Installing mysql:sudo launchctl: command not found
# 8  
Old 02-12-2014

Originally Posted by vbe
My guess, is launchctl is executable but for root only... so you will have to use sudo...Now command line : since you edited:
sudo vi  /Library/LaunchDaemons/com.mysql.mysql.plis

I believe the command then should be:
sudo launchctl load -w -F  /Library/LaunchDaemons/com.mysql.mysql.plis

But I have no idea what your optins (-w -F) are for.. I am not a Mac person...
There ya go.
launchctl will happily unload "com.mysql.mysql.plist" because, well, it's loaded, but you have to specify the path in order to load it.
Since "/com.mysql.mysql.plist" doesn't exist, you get an error message.
"/Library/LaunchDaemons/com.mysql.mysql.plist" does exist.

The manual load and unload isn't strictly necessary unless you want to do that.
On startup, launchctl will load the plist files appropriately (if they are not flagged as disabled).

LaunchDaemons run whether anyone is logged in or not. LaunchAgents will load at user logins.
This User Gave Thanks to [MA]Flying_Meat For This Post:
# 9  
Old 02-13-2014
Thanks for the reminder to use the man.

Still working on it.

---------- Post updated at 06:00 PM ---------- Previous update was at 05:58 PM ----------

Thanks vib.

Replying to these posts is a bit weird.

I cannot see the entire thread and click respond to each person individually.

Still working on this and making progress.

---------- Post updated 02-13-14 at 04:19 PM ---------- Previous update was 02-12-14 at 06:00 PM ----------

I spent hours today navigating around using terminal.
Looking at directory structures and opening up files.
Things are clearing up but still not confident.
Just want to say thanks again.
# 10  
Old 02-14-2014
I feel sorry for you because I can guess you are struggling... On my Mac laptop I use at home only for safari (browser to come here) or write scripts or show young students what is unix and what are the firsts commands to know including vi, I therefore rarely need to be root but have configured configured sudoers accordingly to my needs hehe ( oh and I go terminal when want to do some change in kernel...), my advice would be to go through command line as a user and learn properly unix commands and vi ( the editor...) before trying to do software configs through command line because what you see in command line not the same as what Mac shows you in GUI...
Its so true I created a user the unix way on my laptop and when testing, seen it doesnt show up in the GUI, but if I open a terminal and login, it works and we are 2 on the lappy... I never bothered getting the thing put right because of lack of time and have other priorities... but I know how confusing it can be... So get your soft installed by GUI and go after to look what has changed and look how, you will then have the key to understanding for future installs, perhaps in command line...
Good Luck
# 11  
Old 02-20-2014
Yes. This did help.

I am still a little bit all over the place.
Navigating in UNIX.
Installing apache, phpMyAdmin and MySQL.
Using phpMyAdmin the last few days.

Still jumping back into the .conf files and .ini files to explore and understand.
It is fun but as I said, still a bunch of missing pieces in the puzzle.

Do you know anything about phpMyAdmin ?
I am using syntax as such:


and although I am getting output in my browser, I am only getting

Rather than 127,0,0,1

Just thought that I would ask.

Again. Thanks for the code to get specific help.
# 12  
Old 02-20-2014
Originally Posted by iHaveAQuestion
Do you know anything about phpMyAdmin ?
hmmm... scratches head .... PHP .... ist that something to eat? ;-))

Originally Posted by iHaveAQuestion

and although I am getting output in my browser, I am only getting

Rather than 127,0,0,1
You probably mean "" rather than "127,0,0,1" (notice the "." instead of ","). "" is the so-called "loopback address" in IP v4, while "::1" is the same in IP v6 (or "IPng", as it is alternatively called).

You probably need to activate some "IP v4 only" or something such option in your configuration.

I hope this helps.

This User Gave Thanks to bakunin For This Post:
# 13  
Old 02-21-2014
Sorry, I read your response and used it to troubleshoot. I thought that I had sent along a thanks and that it was helpful.

I cannot seem to find an easy way to find my own posts when I logon to this forum. Do you know how to navigate from the menus ?
# 14  
Old 02-21-2014
Originally Posted by iHaveAQuestion
I cannot seem to find an easy way to find my own posts when I logon to this forum. Do you know how to navigate from the menus ?
Yes: from the top menu select "User CP" and select "Subscribed Threads" from the drop-down. All threads you write to (or open yourself) will be automatically subscribed, so you can find all your postings from there.

Alternatively, go to "Advanced Search" and search for all posts under your user name.

I hope this helps.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all I even tried with localinstall. Below is the error output: yum install mysql-community-server*.rpm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies

2. Red Hat

Problem in installing mysql

Hi i am trying to install mysql rpm package on my linux machine but getting below error : warning: MySQL-embedded-5.5.28-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies: MySQL-devel is needed by MySQL-embedded-5.5.28-1.rhel5.i386 ... (9 Replies)
Discussion started by: mukulverma2408
9 Replies

3. UNIX for Dummies Questions & Answers

launchctl loads app with icon (OS X)

We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Discussion started by: nextyoyoma
4 Replies

4. Shell Programming and Scripting

ssh sudo command - Prompts for sudo password as visible text. Help?

I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this: #!/bin/bash rsync /path/on/local/machine/ ssh sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies

5. BSD

Installing FreeBsd. No usb device found

Hello, all. My english is not good. I have a problem installing FreeBsd. I have not CD-Roms, so i use program FlashBoot for convert iso-image to USB Device. After, I was beginning to install FreeBsd (Sorry my english) When it's time to choose an installation media, i select 9 USB:... (3 Replies)
Discussion started by: snet
3 Replies

6. BSD

Installing MySQL package

Hey all I'm having a little trouble installing a MySQL database. This is what I tried... export PKG_PATH=`machine -a` pkg_add -v mysql-server mysql-client and this is what I get Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies

7. Solaris

Error in installing the mysql-python-1.2.3.tar.gz

Hi, I followed the step written in README. It got some error message when I type " #python build" running build running build_py copying MySQLdb/ -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb running build_ext building '_mysql' extension /usr/lib/python2.4/pycc -DNDEBUG... (2 Replies)
Discussion started by: AlexCheung
2 Replies

8. UNIX for Dummies Questions & Answers

sh: sudo: not found

As I am trying to log in, when input my user-name (root), when the password prompt, this is what I got (highlighted in red), before i can put in my password. Please tell my why this happened. console login: root Password: sh: sudo: not found Thank you. (0 Replies)
Discussion started by: iamnew2solaris
0 Replies

9. UNIX for Dummies Questions & Answers

Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:"

Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks! When attempting to use sudo on and AIX machine with oslevel, I get the following error: exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies

10. UNIX for Dummies Questions & Answers

Sudo: command not found

I am totally newbie. I try to login UNIX Solaris 10 through ssh command as user then i use sudo command to login as root: sudo su - but system give me an error sudo: not found. How can i fix this problem and install ssh services for my unix. (1 Reply)
Discussion started by: cthinh
1 Replies
Login or Register to Ask a Question