我正在使用MySQL Server版本:5.5.28-0ubuntu0.12.04.2。 我尝试使用以下命令将版本更新到5.5.35,输出也显示在下面
root@MATRiXDev:/home/rpolepeddi# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
mysql-server
1 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
Need to get 11.2 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server all 5.5.35-0ubuntu0.12.04.1 [11.2 kB]
Fetched 11.2 kB in 0s (73.1 kB/s)
(Reading database ... 62346 files and directories currently installed.)
Preparing to replace mysql-server 5.5.28-0ubuntu0.12.04.2 (using .../mysql-server_5.5.35-0ubuntu0.12.04.1_all.deb) ...
Unpacking replacement mysql-server ...
Setting up mysql-server (5.5.35-0ubuntu0.12.04.1) ...
但是在我启动MySQL之后,它仍然显示为5.5.28而不是5.5.35。有人可以解释一下吗?
root@MATRiXDev:/etc/mysql# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 294
Server version: 5.5.28-0ubuntu0.12.04.2 (Ubuntu)