mysql:The package 'mysql' can be found in following packages
来源:互联网 发布:node js前景 知乎 编辑:程序博客网 时间:2024/06/05 06:12
参考:CentOS 6.4下编译安装MySQL 5.6.14
问题描述:在ubuntu14.04-sever上源码安装mysql(mysql-5.5.49)后,在shelll输入mysql,出现“The package 'mysql' can be found in following packages...”
原因:没有将mysql的路径加入环境变量
解决办法:
修改/etc/profile文件,在文件末尾添加
PATH=/usr/local/mysql/bin:$PATH
export PATH
关闭文件,运行下面的命令,让配置立即生效
source /etc/profile
现在,我们可以在终端内直接输入mysql进入,mysql的环境了
0 0
- mysql:The package 'mysql' can be found in following packages
- linux使用mysql 在输入了mysql 之后出现 the programe can be found in the following packages
- The program 'java' can be found in the following packages
- ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages
- ubuntu14.10 安装maven出现The program 'mvn' can be found in the following packages错误
- nginx报错The program 'nginx' can be found in the following packages
- the program javac can be found in the following packages ubuntu
- [Ubuntu] 解决The program 'make' can be found in the following packages:
- Ubuntu配置JDK出现的The program 'java' can be found in the following packages
- 解决Linux下svn问题:The program 'svn' can be found in following packages...
- The program 'node' can be found in the following packages: * node * nodejs-legacy Try: sudo apt-ge
- can not be found in source packages. Check the inheritance chain from your module
- mysql Could not initialize master info structure; more error messages can be found in the MySQL erro
- Linux matplotlib 库安装 * The following required packages can not be built: * freetype, png
- Could not initialize master info structure; more error messages can be found in the MySQL error log
- In C++, which of the following syntax can be used for instantiating an object named arr of the vecto
- The packages can be overrided by Java Endorsed Standards
- ADO.NET Entity framework 连接MySql 提示The specified store provider cannot be found in the configuration
- 原生APP与js交互
- dfad
- censys 数据库地理信息自定义接口(python版)
- SQL之EXPLAIN语法
- Guava base -- Charset
- mysql:The package 'mysql' can be found in following packages
- 字符串 判空
- 多重窗体实验
- Mac之vim命令使用
- android.text.TextUtils中的常用方法
- XML(6)自己写一个xml序列化器
- Java 内部类
- ExpandableListView
- 【Java】——Eclipse打开路径错误