【发布时间】:2019-04-13 18:20:10
【问题描述】:
在已经安装和配置了 MySQL 的 Debian 服务器上安装 phpmyadmin 时,我很困惑。我已经尝试清除最新的 phpmyadmin 失败安装,但我无法安装它。
我也已经搜索了一些常见问题,例如尝试将 phpmyadmin 文件修复为 https://serverfault.com/questions/341116/setting-up-phpmyadmin-got-a-mysql-syntax-error,但每个 timestamp 调用在没有值的情况下都是正确的(timestamp(value) 似乎是错误的)。
如果有人可以帮助我,我将不胜感激!
错误提示:
An error occurred while installing the database:
│
│ mysql said: ERROR 1064 (42000) at line 1: 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 'IDENTIFIED BY
│ 'hereismypassword'' at line 1 . Your options are:
│ * abort - Causes the operation to fail; you will need to downgrade,
│ reinstall, reconfigure this package, or otherwise manually intervene
│ to continue using it. This will usually also impact your ability to
│ install other packages until the installation failure is resolved.
│ * retry - Prompts once more with all the configuration questions
│ (including ones you may have missed due to the debconf priority
│ setting) and makes another attempt at performing the operation.
│ * retry (skip questions) - Immediately attempts the operation again,
│
│ <Ok>
【问题讨论】:
-
您使用的是哪个 Debian 版本?您使用的是 MySQL 还是 MariaDB,是通过包管理器安装的还是您自己通过其他方式安装的?
-
Debian 9 (Stretch) (64 bits),使用通过 apt-get 安装的 MySQL
标签: mysql database phpmyadmin installation failed-installation