我正在运行带有 MariaDB 服务器 5.5.41 的 Ubuntu 14.04trusty,并且想要升级到版本 10。
我按照说明关闭并卸载了 5.5.41,运行了更新,然后 apt-get 得到了以下结果:
The following NEW packages will be installed:
mariadb-server mariadb-server-10.0
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/6,000 kB of archives.
After this operation, 78.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package mariadb-server-10.0.
(Reading database ... 55701 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.0_10.0.17+maria-1~trusty_amd64.deb ...
Unpacking mariadb-server-10.0 (10.0.17+maria-1~trusty) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_10.0.17+maria-1~trusty_all.deb ...
Unpacking mariadb-server (10.0.17+maria-1~trusty) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up mariadb-server-10.0 (10.0.17+maria-1~trusty) ...
mysql start/running, process 4592
Setting up mariadb-server (10.0.17+maria-1~trusty) …
重新启动后,重新登录 phpmyadmin - 它仍然显示我正在运行版本 5.5.41 - 即使该版本已被删除。
这本该是一件轻而易举的事 - 而且我有资格这么做!但我不明白这里发生了什么。
有人能告诉我吗?或者告诉我为像我这样的人写的说明?;)
谢谢!
答案1
嗯...可能是缓存问题,因为 30 分钟后我重新登录 phpmyadmin,现在显示的服务器版本是 10.0.17!