Debian Lenny - Installing MySQL
来源:互联网 发布:网络推广手法 编辑:程序博客网 时间:2024/05/21 10:33
Installing MySQL on Debian Lenny is very simple using the 'aptitude' package manager.
This article will go through the install process and you will have a database server up and running in no time.
MySQL install
To begin with, a simple MySQL install:
sudo aptitude install mysql-server mysql-client libmysqlclient15-dev
Note that we have installed the development libs and headers with the 'libmysqlclient15-dev' package - you can leave that out but I have found that they are useful in many situations.
MySQL Password
During the installation of MySQL, you will be presented with the option to install a password:
Setting the MySQL Root password is a recommended step in setting up your Slice. However, it is, of course, up to you.
Should you decide that protecting your production database is a good idea, then simply enter your chosen password as directed.
Unlike previous Debian releases, Lenny asks for a confirmation of the password (which is a good thing!):
InnoDB
if you are not going to use InnoDB with your MySQL databases, then it is a good idea to turn it off right at the start. It uses a lot of memory and, if not going to be used, this is wasted memory.
Open the main Mysql config file:
sudo nano /etc/mysql/my.cnf
Search my.cnf for the heading:
# * InnoDB
Then, to turn off InnoDB, simply uncomment (remove the #) on this line:
skip-innodb
Done. It really is as simple as that.
原文地址:http://articles.slicehost.com/2009/4/7/debian-lenny-installing-mysql
- Debian Lenny - Installing MySQL
- Installing MySQL Server on Debian
- Debian lenny -- Init
- 升级debian到lenny
- Debian lenny字体设置
- Debian(lenny)安装SVN
- Debian lenny 安装KDE4
- Debian lenny amd64 硬盘安装
- Debian Lenny安装Xen笔记
- 在Debian Lenny中安装摄像头驱动
- 在vmware上安装debian 5(lenny)
- debian lenny的简单安装教程
- Debian Lenny英文版安装后配置
- Debian Lenny英文版安装后配置
- 搭建LAMP服务器: Debian 5.0 (lenny)
- 在Debian lenny下安装ns-2.34
- debian lenny的简单安装教程
- debian(lenny)下的时区/时间设置
- 浅析大型网站的架构
- 学习整理 WCF MSMQ StreamInsight
- win7 更新 KB976422 导致chrome频繁假死
- 使用dom4j读取xml文档的四种方式
- vsFTPd添加虚拟用户
- Debian Lenny - Installing MySQL
- 给大家介绍一款不错的Flash开发工具FlashDevelop
- 研究Flash CS3 嵌入文字,各选项相应实际区别
- 拉起游戏客户端carsh
- BW:建模:Slowly Changing Dimension
- 异或运算
- 关于PHP自定义扩展加载的问题
- 按照IP地址排列
- 气死90%黑客的密码设置诀窍