could not find my_print_defaults
the following directories were searched:
/usr/local/mysql/bin
/usr/local/mysql/extra
if you compiled from source.you need to run “make install”to copy the software into the correct location ready for operation.
if you are using a binary release. you must either be at the top level of the extracted archive. or pass the --basedir option pointingto that location
在linux 里面安装mysql 需要注意安装文件mysql是否符合linux版本, 下面是安装步骤:
//********************* linux mysql 数据库安装 *********************************************
http://note.youdao.com/share/?id=9e1a469d7f1946c1c24b426377d79ef9&type=note -- 这是个安装步骤的详细笔记文档
mkdir
查看当前安装的linux版本: lsb_release -a
mysql 安装在哪 ps -ef|grep mysql
mysql -uroot -p 进入指令
怎么安装的数据库,如果是源码,你需要make install后,把路径添加到系统路径中。
如果想简单就要包管理器安装,yum等,这样就会自动安装到系统路径。http://blog.csdn.net/ownfire/article/details/7885454
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。