Installing MySQL on Solaris

本文介绍在Solaris系统上使用二进制tar包安装MySQL时可能遇到的问题及解决办法,包括如何处理长文件名问题,推荐使用GNU tar进行解包。同时提供通过PKG格式安装的方法及其常用命令。
http://dev.mysql.com/doc/refman/5.0/en/solaris-installation.html

If you install MySQL using a binary tarball distribution on Solaris, you may run into trouble even before you get the MySQL distribution unpacked, as the Solaris tar cannot handle long filenames. This means that you may see errors when you try to unpack MySQL.

If this occurs, you must use GNU tar (gtar) to unpack the distribution. You can find a precompiled copy for Solaris at http://dev.mysql.com/downloads/os-solaris.html.

You can install MySQL on Solaris using a binary package in PKG format instead of the binary tarball distribution. Some basic PKG-handling commands follow:

  • To add a package:

    pkgadd -d package_name.pkg
  • To remove a package:

    pkgrm package_name
        
  • To get a full list of installed packages:

    pkginfo
  • To get detailed information for a package:

    pkginfo -l package_name
        
  • To list the files belonging to a package:

    pkgchk -v package_name
        
  • To get packaging information for an arbitrary file:

    pkgchk -l -p file_name
        

For additional information about installing MySQL on Solaris, see Section 2.13.3, “Solaris Notes”.


转载于:https://www.cnblogs.com/menghe/articles/407684.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值