fedora mysql 安装
来源:互联网 发布:四川医疗软件 编辑:程序博客网 时间:2024/04/27 22:12
本例使用的是 mysql-5.0.45.tar.gz
安装编译前提:
Yum install gcc
Yum install gcc-c++
1.第一个MYSQL安装
编译1.带上参数
./configure --prefix=/usr/local/mysql
--with-named-curses-libs=/usr/lib/libncurses.so.5 可能需要的参数
Make
Make install
将标准配置文件导入
cp ./support-files/my-medium.cnf /etc/my.cnf
建立mysql 数据库目录
Mkdir /usr/local/mysql/var
初始化MYSQL
/usr/local/mysql/bin/mysql_install_db
启动mysql
/usr/local/mysql/bin/mysqld_safe --user=root &
停止mysql
/usr/local/mysql/bin/mysqladmin shutdown
登陆
./usr/local/mysql/bin/mysql
GRANT ALL PRIVILEGES ON * TO root@??%?? IDENTIFIED BY ??123456??;
mysql> GRANT ALL PRIVILEGES ON * TO root@"%" IDENTIFIED BY "rootpwd";
添加MYSQL用户权限.
Mysql>Flush privileges
更新权限
试登陆MYSQL
FQA:[root@fengge mysql-5.0.45]# locate libncurses.so
Q1:编译1.带上参数
./configure --prefix=/usr/local/mysql
--with-named-curses-libs=/usr/lib/libncurses.so.5 可能需要的参数
运行以下命令查询目录
[root@fengge mysql-5.0.45]# locate libncurses.so
/lib/libncurses.so.5
/lib/libncurses.so.5.7
所以改成
./configure --prefix=/usr/local/mysql --with-named-curses-libs=/lib/libncurses.so.5
- fedora mysql 安装
- Fedora 安装mysql数据库
- linux >>> fedora安装mysql
- Fedora 16 安装mysql
- Fedora Mysql安装总结
- fedora安装mysql
- Fedora-安装mysql-server
- fedora安装mysql数据库
- Fedora 7下安装mysql
- fedora 13 mysql安装记录
- fedora安装mysql详细步骤
- Fedora 16安装mysql总结
- Fedora 17安装MySql服务
- fedora 20 mysql 的安装
- Fedora下mysql的安装
- Fedora安装MySQL及使用
- Fedora 下mysql的安装
- fedora下安装mysql 启用mysql
- 在ubuntu 10.10下安装 WebSphere Application Server V7.0和WebLogic10.3
- Fedora14 audacious的安装 和 Rhythmbox中文乱码解决方案
- Linux 入门常用命令
- jffs2根文件系统制作(三)
- 如何显示出用下划线标记的快捷键 Shortcut Underlines Don't Show Up With Manifest??
- fedora mysql 安装
- java线程的简单知识积累
- 凸包算法
- 消息钩子函数入门篇
- HoneyComb3.0技术系列之Drag And Drop(一)
- Linux之父炮轰C++:糟糕程序员的垃圾语言
- Game Engine Architecture by Jason Gregory:1.5 游戏引擎概况
- Linux下C++开发工具介绍
- DOM