<pre name="code" class="plain"># yum install openssl*
# yum install bzip2 bzip2-devel
# yum install mysql
# yum install mysql-server
# yum install mysql-devel
# vim /etc/my.cnf
#set default-character-set=utf8
# chkconfig --add mysqld
# service mysqld start
# service mysqld stop
# mysqladmin -u root password yxcui910922
# mysql -u root;
> use mysql ;
> update user set password=password("yxcui910922") where user="root";
> flush privileges;
> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'yxcui910922' WITH GRANT OPTION;
更多Linux方式,可访问:
http://www.ijson.com/