I have run into an obstacle. See error message below **
I am Running:
'Mountain lion' , 'Mac OS X 10.8.3'
I have downloaded:
MySQL version. Mac OS X 10.7. (X86, 64-bit), DMG Archive.
After several days of reading about:
Installation of MySQL
Enabling apache server
And getting phpMyAdmin up
I found two sets of instructions: link1 and link2 about installing
apache, phpMyAdm and mySQL.
Link1.
i keep getting errors that i have 5+ urls in this message. i just deleted link1.
it is under 'apple forum discussions doc-3082'
Where this sentence lead me to believe I could use the version listed above.
There is NO version for 10.8
" Download MySQL from a local mirror. You want the Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive. At the time of writing this User Tip, the current version is 5.5.34. By the time you read this, there may be a newer version to use instead. Open the archive mysql-5.5.34-osx10.6-x86_64.dmg. "
I followed the instructions on link1, and all went well until getting this error message when I type the following command at the terminal prompt:
launchctl load -w /comdotmysql.mysql.plist
**Error message
-bash: launchctl: command not found.
- I cd - changed directories all the way back up the file structure to type the command to see if it needed to be run someplace special but the same error came up.
- I searched here on this forum and on the web.
- I went back and checked over every step and everything that i typed.
- I ended up typing the instructions below by hand
because somewhere I read that a copy/paste may insert invisible characters.
Excerpt from link1.
sudo vi /Library/LaunchDaemons/comdotmysql.mysql.plist
Use the following content:
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>comdotmysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
<string>--user=mysql</string>
</array>
</dict>
</plist>
Can someone please explain what I am missing ?
Why is this command
-bash: launchctl: command not found.
That is launch c t lowercase L not number 1
****
someone suggested that i echo the path....
From the first prompt:
computerName:~<shortname$> echo "${PATH}"
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
It has been a while since I have been navigating around at a unix prompt.
That looks like the path is too long.
Can you interpret the above path for me if it is not too much trouble ?
An added note.
The following link2 also had a very nice set of instructions but unlike link1, this link uses the
'Preference pane' and 'startup item' which link1 discourages because it causes problems down the road.
I would rather use the command line and do not want to give up on this method.
The forum only allow for one url but if you search the below you will find link2 if you are interested. It seems like a good site but I do not want to mess up my system or file structure installing and configuring a bunch of things.
Link2. the coolestguidesontheplanet install-configure- apache-mysql-php-phpmyadmin
Now that I am going head strong with this project, I hope that my issue can be resolved quickly with this community
so I don't loose my momentum.
Thanks a lot.