4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:php tag:mysql — newest first
  • PHP :: Bug #52434 :: mysqlnd: host cannot be "localhost" when connecting to tcp port

    Point de vue différents :)

    Ici, lorsqu'on utilise "localhost", la connexion va se faire par une socket et lorsqu'on utilise "127.0.0.1", la connexion se fera par tcp. On pourrait se dire que le comportement est anormal, mais en fait, non :

    "The patch won't be added as then "localhost" has two meanings - one time meaning "use the unixdomain socket in the default location" and one time actually "resolve localhost and use TCP" as it is taught in many places that "localhost" in MySQL has the first meaning we keep it there."

    La socket est déterminée ici dans le php.ini :
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    mysql.default_socket =

    January 3, 2014 - permalink - https://bugs.php.net/bug.php?id=52434
    bug mysql php socket
  • DÉTERMINER LA TAILLE D'UN BASE DE DONNÉES MYSQL ET LE NOMBRE D'ENREGISTREMENTS détérminer, taille, mysql, base, enregistrement, Source N°27761 PHP
    May 16, 2011 - permalink - http://www.phpcs.com/codes/DETERMINER-TAILLE-BASE-DONNEES-MYSQL-NOMBRE-ENREGISTREMENTS_27761.aspx
    mysql php
  • Éviter les injections SQL
    March 16, 2011 - permalink - http://www.siteduzero.com/tutoriel-3-37762-eviter-les-injections-sql.html
    mysql php sécurité