一、MySQL安装MySQL可以在redhat环境下进行RPM安装和debian下apt安装,但是最新的包一般都是源码的形式,因此这里选择源码编译安装的方式。首先登陆官方网站http://www.mysql.com,下载最新的released版本。# tar zxf mysql-5.1.22-rc-linux-i686-glibc23.tar.gz为mysql的运行建立mysql用户和mysql用户组#gro...【阅读全文】
安装后MySQL的error log提示:[Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.# sudo mysql -urootmysql> alter user root@localhost identified with mysql_native_password as '*xxxxx';【阅读全文】