# tar zxf mysql-5.5.3-m3.tar.gz
# cd mysql-5.5.3-m3
#./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/mysql/ --with-charset=gbk
# make
# make install
接下来,
执行/usr/local/mysql/bin/mysqld_safe
提示
[root@localhost /]# /usr/local/mysql/bin/mysqld_safe
120316 10:02:55 mysqld_safe Logging to '/var/lib/mysql/localhost.localdomain.err'.
120316 10:02:55 mysqld_safe A mysqld process already exists
执行/usr/local/mysql/bin/mysql -u root -p
提示
Enter password: (直接回车的)
/usr/local/mysql/bin/mysql: Character set 'gb2312' is not a compiled character set and is not specified in the '/usr/local/mysql/share/mysql/charsets/Index.xml' file
ERROR 2019 (HY000): Can't initialize character set gb2312 (path: /usr/local/mysql/share/mysql/charsets/) 作者: chenliquan90 時間: 2013-1-18 09:28
有时间也装个玩玩!!作者: sun_sdsd 時間: 2014-3-5 14:41
linux下安装mysql作者: yct1978 時間: 2014-3-12 12:30
学习学习