Я настраиваю новый сервер и хочу установить phpMyAdmin для управления моими базами данных MySQL. Я на VPS с Debian 9 и Nginx.
Когда я пытаюсь установить (и настроить с помощью «dbconfig-common») phpMyAdmin (используя sudo apt install phpmyadmin
), я получаю эту ошибку:
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
│ 'mypassword' 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>
Я посмотрел на phpmyadmin error 1064 (42000) во время установки и попробовал, но у меня не получилось.
Если бы кто-нибудь мог мне помочь, я был бы очень рад.