{"id":7668,"date":"2019-07-29T16:20:50","date_gmt":"2019-07-29T15:20:50","guid":{"rendered":"https:\/\/blog.capdata.fr\/?p=7668"},"modified":"2019-09-13T10:36:00","modified_gmt":"2019-09-13T09:36:00","slug":"les-dessous-de-la-desactivation-de-mysql_history","status":"publish","type":"post","link":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/","title":{"rendered":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history"},"content":{"rendered":"<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668&#038;text=Article%20sur%20le%20blog%20de%20la%20Capdata%20Tech%20Team%20%3A%20\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668&#038;title=Les%20dessous%20de%20la%20d%C3%A9sactivation%20de%20%7E%2F.mysql_history\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Les%20dessous%20de%20la%20d%C3%A9sactivation%20de%20%7E%2F.mysql_history&#038;body=Article%20sur%20le%20blog%20de%20la%20Capdata%20Tech%20Team%20%3A%20:%20https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a><p>Comme le dit tr\u00e8s bien la <a href=\"https:\/\/dev.mysql.com\/doc\/refman\/5.7\/en\/mysql-logging.html\">doc<\/a>, il est possible et m\u00eame souhaitable de prot\u00e9ger ou d\u00e9sactiver l&#8217;historique des commandes lanc\u00e9es par tous les comptes ayant acc\u00e8s au client mysql, dans la mesure o\u00f9 celui-ci peut contenir des informations sensibles comme des noms d&#8217;objets, des mots de passe, etc&#8230; Par d\u00e9faut, les commandes seront logg\u00e9es dans un fichier ~\/.mysql_history.<\/p>\n<p>Deux mani\u00e8res sont possibles pour d\u00e9sactiver compl\u00e8tement ce m\u00e9canisme:<br \/>\n&#8211; Soit utiliser la variable d&#8217;environnement MYSQL_HISTFILE et la faire pointer vers \/dev\/null<br \/>\n&#8211; Soit cr\u00e9er un lien soft entre ~\/.mysql_history -> \/dev\/null<\/p>\n<p>Mais ce qui est assez curieux, c&#8217;est que dans les 2 cas mysqld <b>n&#8217;enverra rien du tout en sortie<\/b>, pas m\u00eame vers le device \/dev\/null. Extrait des sources ~\/client\/mysql.cc <em>(Copyright (c) 2000, 2017, Oracle and\/or its affiliates. All rights reserved)<\/em> :<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n #ifdef HAVE_READLINE\r\n    if (!quick)\r\n    {\r\n      initialize_readline((char*) my_progname);\r\n\r\n      \/* read-history from file, default ~\/.mysql_history*\/\r\n      if (getenv(&quot;MYSQL_HISTFILE&quot;))\r\n        histfile=my_strdup(PSI_NOT_INSTRUMENTED,\r\n                           getenv(&quot;MYSQL_HISTFILE&quot;),MYF(MY_WME));\r\n      else if (getenv(&quot;HOME&quot;))\r\n      {\r\n        histfile=(char*) my_malloc(PSI_NOT_INSTRUMENTED,\r\n                                   (uint) strlen(getenv(&quot;HOME&quot;))\r\n\t\t\t\t   + (uint) strlen(&quot;\/.mysql_history&quot;)+2,\r\n\t\t\t\t   MYF(MY_WME));\r\n        if (histfile)\r\n\t  sprintf(histfile,&quot;%s\/.mysql_history&quot;,getenv(&quot;HOME&quot;));\r\n        char link_name[FN_REFLEN];\r\n        if (my_readlink(link_name, histfile, 0) == 0 &amp;&amp;\r\n            strncmp(link_name, &quot;\/dev\/null&quot;, 10) == 0)\r\n        {\r\n          \/* The .mysql_history file is a symlink to \/dev\/null, don't use it *\/\r\n          my_free(histfile);\r\n          histfile= 0;\r\n        }\r\n      }\r\n\r\n      \/* We used to suggest setting MYSQL_HISTFILE=\/dev\/null. *\/\r\n      if (histfile &amp;&amp; strncmp(histfile, &quot;\/dev\/null&quot;, 10) == 0)\r\n        histfile= NULL;\r\n\r\n      if (histfile &amp;&amp; histfile[0])\r\n      {\r\n        if (verbose)\r\n\t  tee_fprintf(stdout, &quot;Reading history-file %s\\n&quot;,histfile);\r\n        read_history(histfile);\r\n        if (!(histfile_tmp= (char*) my_malloc(PSI_NOT_INSTRUMENTED,\r\n                                              (uint) strlen(histfile) + 5,\r\n\t\t\t\t\t      MYF(MY_WME))))\r\n        {\r\n\t  fprintf(stderr, &quot;Couldn't allocate memory for temp histfile!\\n&quot;);\r\n\t  exit(1);\r\n        }\r\n        sprintf(histfile_tmp, &quot;%s.TMP&quot;, histfile);\r\n      }\r\n    }\r\n#endif\r\n<\/pre>\n<p>Donc effectivement l&#8217;effet d\u00e9sir\u00e9 est atteint, mais pas de la mani\u00e8re qu&#8217;on aurait imagin\u00e9 \ud83d\ude42 La fa\u00e7on la plus optimis\u00e9e de faire quelque chose, \u00e7a reste toujours de ne pas le faire si on n&#8217;en a pas besoin&#8230;<\/p>\n<p>Bonnes vacances \u00e0 celles et ceux qui sont partis, et bon courage \u00e0 celles et ceux qui sont rest\u00e9s. <\/p>\n<p>A+ ~David<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668&#038;text=Article%20sur%20le%20blog%20de%20la%20Capdata%20Tech%20Team%20%3A%20\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668&#038;title=Les%20dessous%20de%20la%20d%C3%A9sactivation%20de%20%7E%2F.mysql_history\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Les%20dessous%20de%20la%20d%C3%A9sactivation%20de%20%7E%2F.mysql_history&#038;body=Article%20sur%20le%20blog%20de%20la%20Capdata%20Tech%20Team%20%3A%20:%20https%3A%2F%2Fblog.capdata.fr%2Findex.php%2Fwp-json%2Fwp%2Fv2%2Fposts%2F7668\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.capdata.fr\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>Comme le dit tr\u00e8s bien la doc, il est possible et m\u00eame souhaitable de prot\u00e9ger ou d\u00e9sactiver l&#8217;historique des commandes lanc\u00e9es par tous les comptes ayant acc\u00e8s au client mysql, dans la mesure o\u00f9 celui-ci peut contenir des informations sensibles&hellip; <a href=\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\" class=\"more-link\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":7794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[278,328],"class_list":["post-7668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql","tag-securite","tag-source"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG\" \/>\n<meta property=\"og:description\" content=\"Comme le dit tr\u00e8s bien la doc, il est possible et m\u00eame souhaitable de prot\u00e9ger ou d\u00e9sactiver l&#8217;historique des commandes lanc\u00e9es par tous les comptes ayant acc\u00e8s au client mysql, dans la mesure o\u00f9 celui-ci peut contenir des informations sensibles&hellip; Continuer la lecture &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\" \/>\n<meta property=\"og:site_name\" content=\"Capdata TECH BLOG\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-29T15:20:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-13T09:36:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2019\/07\/mysql_history.png\" \/>\n\t<meta property=\"og:image:width\" content=\"644\" \/>\n\t<meta property=\"og:image:height\" content=\"457\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Baffaleuf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Baffaleuf\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\"},\"author\":{\"name\":\"David Baffaleuf\",\"@id\":\"https:\/\/blog.capdata.fr\/#\/schema\/person\/136297da9f61d6e4878abe0f48bc5fbf\"},\"headline\":\"Les dessous de la d\u00e9sactivation de ~\/.mysql_history\",\"datePublished\":\"2019-07-29T15:20:50+00:00\",\"dateModified\":\"2019-09-13T09:36:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\"},\"wordCount\":414,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.capdata.fr\/#organization\"},\"keywords\":[\"s\u00e9curit\u00e9\",\"source\"],\"articleSection\":[\"MySQL\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\",\"url\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\",\"name\":\"Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG\",\"isPartOf\":{\"@id\":\"https:\/\/blog.capdata.fr\/#website\"},\"datePublished\":\"2019-07-29T15:20:50+00:00\",\"dateModified\":\"2019-09-13T09:36:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/blog.capdata.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Les dessous de la d\u00e9sactivation de ~\/.mysql_history\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.capdata.fr\/#website\",\"url\":\"https:\/\/blog.capdata.fr\/\",\"name\":\"Capdata TECH BLOG\",\"description\":\"Le blog technique sur les bases de donn\u00e9es de CAP DATA Consulting\",\"publisher\":{\"@id\":\"https:\/\/blog.capdata.fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.capdata.fr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.capdata.fr\/#organization\",\"name\":\"Capdata TECH BLOG\",\"url\":\"https:\/\/blog.capdata.fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/blog.capdata.fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2023\/01\/logo_capdata.webp\",\"contentUrl\":\"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2023\/01\/logo_capdata.webp\",\"width\":800,\"height\":254,\"caption\":\"Capdata TECH BLOG\"},\"image\":{\"@id\":\"https:\/\/blog.capdata.fr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/cap-data-consulting\/mycompany\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.capdata.fr\/#\/schema\/person\/136297da9f61d6e4878abe0f48bc5fbf\",\"name\":\"David Baffaleuf\",\"sameAs\":[\"http:\/\/www.capdata.fr\"],\"url\":\"https:\/\/blog.capdata.fr\/index.php\/author\/dbaffaleuf\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/","og_locale":"fr_FR","og_type":"article","og_title":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG","og_description":"Comme le dit tr\u00e8s bien la doc, il est possible et m\u00eame souhaitable de prot\u00e9ger ou d\u00e9sactiver l&#8217;historique des commandes lanc\u00e9es par tous les comptes ayant acc\u00e8s au client mysql, dans la mesure o\u00f9 celui-ci peut contenir des informations sensibles&hellip; Continuer la lecture &rarr;","og_url":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/","og_site_name":"Capdata TECH BLOG","article_published_time":"2019-07-29T15:20:50+00:00","article_modified_time":"2019-09-13T09:36:00+00:00","og_image":[{"width":644,"height":457,"url":"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2019\/07\/mysql_history.png","type":"image\/png"}],"author":"David Baffaleuf","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"David Baffaleuf","Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#article","isPartOf":{"@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/"},"author":{"name":"David Baffaleuf","@id":"https:\/\/blog.capdata.fr\/#\/schema\/person\/136297da9f61d6e4878abe0f48bc5fbf"},"headline":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history","datePublished":"2019-07-29T15:20:50+00:00","dateModified":"2019-09-13T09:36:00+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/"},"wordCount":414,"commentCount":0,"publisher":{"@id":"https:\/\/blog.capdata.fr\/#organization"},"keywords":["s\u00e9curit\u00e9","source"],"articleSection":["MySQL"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/","url":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/","name":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history - Capdata TECH BLOG","isPartOf":{"@id":"https:\/\/blog.capdata.fr\/#website"},"datePublished":"2019-07-29T15:20:50+00:00","dateModified":"2019-09-13T09:36:00+00:00","breadcrumb":{"@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.capdata.fr\/index.php\/les-dessous-de-la-desactivation-de-mysql_history\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/blog.capdata.fr\/"},{"@type":"ListItem","position":2,"name":"Les dessous de la d\u00e9sactivation de ~\/.mysql_history"}]},{"@type":"WebSite","@id":"https:\/\/blog.capdata.fr\/#website","url":"https:\/\/blog.capdata.fr\/","name":"Capdata TECH BLOG","description":"Le blog technique sur les bases de donn\u00e9es de CAP DATA Consulting","publisher":{"@id":"https:\/\/blog.capdata.fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.capdata.fr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/blog.capdata.fr\/#organization","name":"Capdata TECH BLOG","url":"https:\/\/blog.capdata.fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/blog.capdata.fr\/#\/schema\/logo\/image\/","url":"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2023\/01\/logo_capdata.webp","contentUrl":"https:\/\/blog.capdata.fr\/wp-content\/uploads\/2023\/01\/logo_capdata.webp","width":800,"height":254,"caption":"Capdata TECH BLOG"},"image":{"@id":"https:\/\/blog.capdata.fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/cap-data-consulting\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/blog.capdata.fr\/#\/schema\/person\/136297da9f61d6e4878abe0f48bc5fbf","name":"David Baffaleuf","sameAs":["http:\/\/www.capdata.fr"],"url":"https:\/\/blog.capdata.fr\/index.php\/author\/dbaffaleuf\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/posts\/7668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/comments?post=7668"}],"version-history":[{"count":12,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/posts\/7668\/revisions"}],"predecessor-version":[{"id":7680,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/posts\/7668\/revisions\/7680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/media\/7794"}],"wp:attachment":[{"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/media?parent=7668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/categories?post=7668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capdata.fr\/index.php\/wp-json\/wp\/v2\/tags?post=7668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}