比思論壇

標題: linux下安装mysql [打印本頁]

作者: lcmj44444444    時間: 2013-1-16 17:54
標題: linux下安装mysql
/usr/local/mysql-5.5.3-m3.tar.gz

# 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
学习学习




歡迎光臨 比思論壇 (http://e3-1275v3.bl-phx0.141.9.8.b8.securedservers.com/) Powered by Discuz! X2.5