--------------------------------------------------------------
[root@elena /]# mysql -u root -p --socket=/tmp/mysql.sock
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.45 MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> exit;
Bye
--------------------------------------------------------------
В файле php.ini:
mysqli.default_socket = /tpm/mysql.sock
[root@elena /]# /etc/init.d/httpd restart
Останавливается httpd: [ OK ]
Запускается httpd: [ OK ]
Затем иду в phpMyAdmin, а он мне говорит: "#2002 - Сервер не отвечает (либо сокет локального MySQL-сервера некорректно настроен)".
Как так не отвечает?
P.S. iptables вообще выключен, да и правил там запрещающих коннектиться по 3306 нету. Я в недоразумении, что это может быть?