Я последовал за этот руководство по обновлению моей формы mysql с 5.1 до 5.5. После множества команд и головной боли я смог обновить mysql. Проверял версию через терминал.
Но теперь возникает другая проблема. phpmyadmin не работает. Это говорит
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
Я искал повсюду и пробовал различные решения, такие как Include /etc/phpmyadmin/apache.conf
в apache2.conf
файл и перезапустил apache (он начал показывать ошибку 404). Но все равно не работает.
я помню, что терминал показывал phpmyadmin is broken or not fully installed
, пока я пробовал разные решения.
Также теперь, когда я открываю терминал (Ctrl + Alt + t), он показывает различные ошибки:
Command 'uname' is available in '/bin/uname'
The command could not be located because '/bin' is not included in the PATH environment variable.
uname: command not found
bash: [: !=: unary operator expected
bash: [: too many arguments
bash: [: too many arguments
bash: [: too many arguments
bash: [: =: unary operator expected
bash: [: too many arguments
bash: [: too many arguments
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
Command 'sed' is available in '/bin/sed'
The command could not be located because '/bin' is not included in the PATH environment variable.
sed: command not found
bash: [: too many arguments
bash: [: =: unary operator expected
bash: [: too many arguments
bash: [: too many arguments
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
ubc-7@ubc-7-desktop:~$
Что мне теперь делать? отремонтировать, переустановить, отформатировать ??