• [^] # Re: juste en passant

    Posté par . En réponse au message Connexion Mysql et Phpmyadmin avec mdv2007. Évalué à 1.

    Dans mon effort pour limiter l'installation de logiciels (je cherche à faire un environnement de prototypage basé sur mysql et rekall qui s'installe sur une clé usb, et je n'ai jamais personnellement installé ces logiciels), je n'avais pas installé Apache. Je l'ai installé mais httpd ne démarre pas (d'après le centre de contrôle). Je n'ai pas installé php

    Est-ce que Apache est nécessaire pour mysql?

    un ls -l donne sur www

    drwxr-xr-x 3 root root 3072 jan 31 08:42 apache1/
    drwxr-xr-x 2 root root 1024 jan 30 10:01 cgi-bin/
    drwxr-xr-x 3 root root 1024 jan 30 10:01 error/
    drwxr-xr-x 3 root root 1024 jan 30 10:01 html/
    drwxr-xr-x 3 root root 4096 jan 30 10:01 icons/
    drwxr-xr-x 2 root root 1024 jan 30 10:01 perl/
    drwxr-xr-x 8 root root 2048 jan 30 10:01 phpMyAdmin/

    dans error il y a çacontact.html.var HTTP_PRECONDITION_FAILED.html.var
    HTTP_BAD_GATEWAY.html.var HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    HTTP_BAD_REQUEST.html.var HTTP_REQUEST_TIME_OUT.html.var
    HTTP_FORBIDDEN.html.var HTTP_REQUEST_URI_TOO_LARGE.html.var
    HTTP_GONE.html.var HTTP_SERVICE_UNAVAILABLE.html.var
    HTTP_INTERNAL_SERVER_ERROR.html.var HTTP_UNAUTHORIZED.html.var
    HTTP_LENGTH_REQUIRED.html.var HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    HTTP_METHOD_NOT_ALLOWED.html.var HTTP_VARIANT_ALSO_VARIES.html.var
    HTTP_NOT_FOUND.html.var include/
    HTTP_NOT_IMPLEMENTED.html.var README

    Quand je vais à l'adresse http://127.0.0.1 je reçois It works comme pour http://localhost/

    En tapant mysql
    [pada@ip-84-042 ~]$ mysql
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
    [pada@ip-84-042 ~]$ su
    Mot de passe :
    [root@ip-84-042 pada]# mysql
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 63 to server version: 5.0.24a

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.