设置 phpmyadmin,出现 MySQL 语法错误

jib*_*age 5 mysql php debian nginx

我尝试在安装了 nginx 和 mysql-server 的 Debian Squeeze 上安装 phpmyadmin。我跑了sudo apt-get install phpmyadmin,一切似乎都很顺利,直到安装程序抛出这个:

An error occurred while installing the database: 

mysql said: ERROR 1064 (42000) at line 72: You have an error in your SQL    
syntax; check the manual that corresponds to your MySQL server version      
for the right syntax to use near '(14) NOT NULL, `sqlquery` text NOT        
NULL, PRIMARY KEY (`id`), KEY `usernam' at line 6
Run Code Online (Sandbox Code Playgroud)

...做什么?

小智 10

/usr/share/dbconfig-common/data/phpmyadmin/install/mysql(pma_history 部分)中的“timestamp(14)”替换为“timestamp” 。

然后重新安装phpmyadmin。