无法将MySQL手册安装到Mac [英] Unable to install MySQL manuals to Mac
问题描述
此问题基于线程.
我将手册下载为文件"v5.1(Maria)TGZ".我将文件移到了/usr/share/man/
.我无法通过以下方式访问手册
I downloaded the manuals as the file "v5.1 (Maria) TGZ".
I moved the file to /usr/share/man/
. I could not access the manuals by
man mysqlbug
.tar.gz文件包含不包含自述文件的这些文件
The .tar.gz -file has these files which do not include README
comp_err.1
innochecksum.1
make_win_bin_dist.1
msql2mysql.1
my_print_defaults.1
myisam_ftdump.1
myisamchk.1
myisamlog.1
myisampack.1
mysql.1
mysql.server.1
mysql_config.1
mysql_convert_table_format.1
mysql_find_rows.1
mysql_fix_extensions.1
mysql_fix_privilege_tables.1
mysql_install_db.1
mysql_secure_installation.1
mysql_setpermission.1
mysql_tzinfo_to_sql.1
mysql_upgrade.1
mysql_waitpid.1
mysql_zap.1
mysqlaccess.1
mysqladmin.1
mysqlbinlog.1
mysqlbug.1
mysqlcheck.1
mysqld.8
mysqld_multi.1
mysqld_safe.1
mysqldump.1
mysqldumpslow.1
mysqlhotcopy.1
mysqlimport.1
mysqlmanager.8
mysqlshow.1
mysqlslap.1
perror.1
replace.1
resolve_stack_dump.1
resolveip.1
我将文件复制到/usr/share/man/mysql.但是,我无法通过关键字 mysql
访问该手册.
我应该将文件放在哪里,以便Man可以访问它们?
如何将MySQL手册安装到OS X Leopard?
推荐答案
.1后缀表示文件位于手册的第1节中.您需要确保将文件移至/usr/share/man/man1,并且/usr/share/man位于您的MANPATH环境变量中(应该已经存在).
The .1 suffix indicates the files go in section 1 of the manual. You'll need to make sure you move the files to /usr/share/man/man1 and that /usr/share/man is in your MANPATH environment variable (it should be already).
这篇关于无法将MySQL手册安装到Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!