ubuntu mysql5.1下载_Ubuntu 10.10 Linux下安装MySQL 5.1

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 16:10   2014   0

Ubuntu 10.10 Linux下安装MySQL 5.1过程:

sudo apt-get install sudo apt-get install mysql-server-5.1 mysql-gui-tools-common

sudo vi /etc/mysql/my.cnf

查找 bind-address 并且注释掉它,因为不注解它,只能用127.0.0.1 来访问

#bind-address = 127.0.0.1

76871ef913c1ad7bb90b1684b6d9e0bb.png

添加默认字符集和默认存储引擎

# The default character set that will be used when a new schema or table is

# created and no character set is defined

default-character-set=utf8

# The default storage engine that will be used when create new tables when

default-storage-engine=INNODB

sudo /etc/init.d/mysql restart 重启mysql服务0b1331709591d260c1c78e86d0c51c18.png

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP