Здравствуйте!
При открытии localhost/phpmyadmin открываются файлы, находящиеся в директории. Файла index.php нет. При установке ругался на неверный root пароль.
Переустановил mysql. теперь ошибка
#alexandr@alexandr-OEM:~$ mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
alexandr@alexandr-OEM:~$ sudo /etc/init.d/apache2 start
[sudo] password for alexandr:
* Starting web server apache2 httpd (pid 17552) already running
[ OK ]
alexandr@alexandr-OEM:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 ... waiting [ OK ]
alexandr@alexandr-OEM:~$ mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
alexandr@alexandr-OEM:~$ sudo /etc/init.d/mysql restart
Rather than invoking init scripts through /etc/init.d, use the service(
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(
and then start(
utilities,
e.g. stop mysql ; start mysql. The restart(
utility is also available.
mysql stop/waiting
mysql start/running, process 6843
alexandr@alexandr-OEM:~$ mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
#