2. 安装方法 1) 解压软件包 tar xvf mysql-5.1.58.tar.gz 2) 配置mysql用户 useradd –d /home/mysql mysql 编辑mysql用户的.bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup prog