TO SOLVE THE ISSUE OF MySQLStartupItem.pkg missing from MySQL DMG
来源:互联网 发布:思科 大数据 编辑:程序博客网 时间:2024/05/21 10:05
QUESTION DESCRIPTION:
I downloaded the Mac OS X 10.9 DMG Archive from http://dev.mysql.com/downloads/mysql/
I mount and open it, and all I see is the mysql-5.6.21-osx10.8-x86_64.pkg.
I dont see MySQLStartupItem.pkg anywhere before or after installing the mysql pkg
What is going on here?I had the same problem. But then I noticed that mysql was actually installed on my preferences pane. I suspect it is now included in the one installer but they haven’t updated the documentation. I rebooted in between install of mysql and noticing it as already installed, so I don’t know whether or not that mattered (I suspect no). Check your preferences pane under Other and see if it’s there…
I had the question too. But if you try the latest installation pkg, say mysql-5.6.23-osx10.9-x86_64.dmg, when you reach “installation type”, you click “customize”, you will see that the package actually includes: 1)MySQL installation file, 2)MySQL startup items installation file and 3)MySQL.prefPane
SOLUTION1:
http://dev.mysql.com/doc/mysql-macosx-excerpt/5.6/en/macosx-installation-prefpane.html Please read this hyperlink. “Previously, the OS X packages included separate MySQLStartupItem.pkg and MySQL.prefPane files. They have since been merged into the main package file.” So, you just install that package and follow the instruction of this page. What is different is that you need to click mac system preference and search mysql then run mysql.
But it seems a terrible solution thought :(
SOLUTION2:
STEP 1
It’s hilarious that I found out there is not such PKG AS MySQLStartupItem.PKG according to SOLUTION1 in my version of MySQL. Cause They have since been merged into the main package file together.
STEP 2
Those tutors indicated former versions has this PKG(SUCH AS VERSION 5.5.40) which I’ve been browsed lately.
So that I decided to download this version of MySQL named mysql-5.5.40-osx10.6-x86_64.dmg .
STEP 3
Afterward, I unzipped this package and found out the PKG File I was looking for. Then ,I opened it and mounted it carefully .
IN THE MEANWHILE, I typed command + shift + G for entering the location,which contented “MySQLCOM” file in Finder. And It was a happen ending thought :) .
MySQL CONTROL COMMANDS in Terminal ,
Start MySQL Server sudo /Library/StartupItems/MySQLCOM/MySQLCOM start Stop MySQL Serversudo /Library/StartupItems/MySQLCOM/MySQLCOM stopRestart MySQL Serversudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
Or using MySQL control panel in System Preferences to regulate Server ,
TIPS: USING alias to simplify commands
In Mac OS System 7 and later, an alias is a small file that represents another object in a local, remote, or removable[1] file system and provides a dynamic link to it; the target object may be moved or renamed, and the alias will still link to it (unless the original file is recreated; such an alias is ambiguous and how it is resolved depends on the version of OS X). In Windows, a “shortcut”, a file with a .lnk extension, performs a similar function.
It is similar to the Unix symbolic link, but with the distinction of working even if the target file moves to another location on the same disk (in this case it acts like hard link, but the source and target of the link may be on different filesystems). As a descendant of BSD, OS X supports Unix symbolic (and hard) links as well.
type these commands in Terminal,
open .bash_profile
And then when you fished the string of command your mac is gonna automatically bounce out a configuration file like this ,
You should append
#command: mysql -u root -p # MySQLexport PATH=${PATH}:/usr/local/mysql/binexport PATH="/usr/local/mysql/bin:$PATH"export PATH="/Users/Don/Library/Application Support/GoodSync":$PATHalias mysql='/usr/local/mysql/bin/mysql';alias net='/Library/StartupItems/MySQLCOM/MySQLCOM';
into this configuration file that just bounced out.
And
source .bash_profile
After that It’s more convenient to regulate MySQL Server in Terminal , just like that
net start net stopnet restart
END
- TO SOLVE THE ISSUE OF MySQLStartupItem.pkg missing from MySQL DMG
- How to solve the issue of RSARTE's starting problem
- FFMPEG Understanding(7. How to solve the issue of searching path?)
- How to solve this issue?
- Tips: How to resolve the issue of MySQL about abnormal login after system launched.
- Solve the issue: ORA-29701 :unable to connect to Cluster Manager
- Solve “missing iconv.dll” issue on Win7 X64
- The issue of ApplyTemplate
- Q.3.4 To solve the problem of hanoi
- Find the missing integer from 0 to n
- How to solve Ubuntu10 wireless firmware missing
- From obscurity to the center of stage
- the solve of volume problem
- How to solve performance issue while inquiring material transaction distribution?
- method to solve the problem : Could not cast value of type 'NSManagedObject_ to
- ubuntu source for caffe reference to solve the problem of the LIB
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- The method getContextPath() from the type HttpServletRequest refers to the missing type
- BOA服务器的搭建以及移植到开发板
- 第一篇
- Mac OS 终端常用命令基础
- 商业智能数据营销该怎么做?
- 关于JVM、JRE、JDK及环境变量
- TO SOLVE THE ISSUE OF MySQLStartupItem.pkg missing from MySQL DMG
- 异步任务
- C++实验四【项目1:利用循环求和】求1000以内所有偶数的和
- 解决Debug JDK source 无法查看局部变量的问题方案
- EventBus使用详解(一)——初步使用EventBus
- Image warping / distortion
- C++ 读写txt文件
- Android Studio和Eclipse使用不同对比
- 多线程基础题目