{"id":1032,"date":"2020-06-15T12:03:03","date_gmt":"2020-06-15T03:03:03","guid":{"rendered":"https:\/\/beanhouse.org\/wordpress\/?p=1032"},"modified":"2022-07-15T22:24:17","modified_gmt":"2022-07-15T13:24:17","slug":"%e3%80%90%e5%82%99%e5%bf%98%e9%8c%b2%e3%80%91mysqli_connect%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ab%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8bphpxmysql","status":"publish","type":"post","link":"https:\/\/beanhouse.org\/wordpress\/?p=1032","title":{"rendered":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL)"},"content":{"rendered":"<p class=\"wpwc-reading-time\">\u3053\u306e\u8a18\u4e8b\u306f\u3060\u3044\u305f\u3044 5 \u5206\u307b\u3069\u3067\u8aad\u3081\u307e\u3059\u3002<\/p>\n<p>mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u78ba\u8a8d\u3057\u305f\u74b0\u5883<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>OS Windows10<\/li><li>XAMPP ver.7.4.6<\/li><\/ul>\n\n\n\n<p>\u52d5\u304b\u3057\u305f\u4eba<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u666e\u6bb5PHP\u3092\u4f7f\u3063\u3066\u306a\u3044<\/li><li>\u30a8\u30f3\u30b8\u30cb\u30a2\u6b74\uff11\uff10\u6570\u5e74<\/li><li>\u65e2\u5a5a<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"643\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer.png\" alt=\"programmer\" class=\"wp-image-734\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer.png 800w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer-300x241.png 300w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer-768x617.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#XAMPP%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\" >XAMPP\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#%E3%82%B3%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0\" >\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#%E3%83%AB%E3%83%BC%E3%83%88%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%AE%E7%A2%BA%E8%AA%8D%E6%96%B9%E6%B3%95\" >\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u78ba\u8a8d\u65b9\u6cd5<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#%E7%A2%BA%E8%AA%8D\" >\u78ba\u8a8d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E9%96%A2%E6%95%B0\" >\u4f7f\u7528\u3057\u305f\u95a2\u6570<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#mysqli_connect\" >mysqli_connect<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#var_dump\" >var_dump<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#mysqli_close\" >mysqli_close<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#%E3%81%BE%E3%81%A8%E3%82%81\" >\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"XAMPP%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\"><\/span><strong>XAMPP<\/strong>\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>XAMPP\u306fApach,PHP,MySQL\u306a\u3069Web\u30a2\u30d7\u30ea\u306e\u5b9f\u884c\u306b\u5fc5\u8981\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068Web\u30a2\u30d7\u30ea\u306e\u958b\u767a\u74b0\u5883\u304c\u624b\u8efd\u306b\u624b\u306b\u5165\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u305f\u8a18\u4e8b\u306f\u3053\u3061\u3089\u3067\u3059\u3002<a href=\"https:\/\/beanhouse.org\/wordpress\/?p=486\">&gt;&gt;\u3010\u5099\u5fd8\u9332\u3011XAMPP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u304b\u3089\u306e hello world!<\/a><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0\"><\/span>\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>Apache\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b testdb\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3002<\/p>\n\n\n\n<p>testdb\u30d5\u30a9\u30eb\u30c0\u306b index.php\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\n\n\/\/ php\u304b\u3089MySQL\u306b\u63a5\u7d9a\n\/\/\u30db\u30b9\u30c8\u540d\n$servername = \"localhost\";\n\/\/\u30e6\u30fc\u30b6\u30fc\u540d\n$user = \"root\";\n\/\/\u30d1\u30b9\u30ef\u30fc\u30c9\n$password = \"\";\n\/\/db\u540d\n$dbname = \"testdb\";\n\n\/\/ \u63a5\u7d9a\n$conn = mysqli_connect($servername, $user, $password, $dbname);\n\n\/\/ \u63a5\u7d9a\u60c5\u5831($conn)\u3092\u5c55\u958b\nvar_dump($conn);\n\n\/\/ \u63a5\u7d9a\u3092\u9589\u3058\u308b\nmysqli_close($conn);\n<\/pre>\n<\/div><\/div>\n\n\n\n<p>\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n\n\n\n<p>mysqli_connect\u95a2\u6570\u306b \u30db\u30b9\u30c8\u30fb\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u30fb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4e0b\u3067\u3001mysqli_connect\u95a2\u6570\u304b\u3089\u8fd4\u3063\u3066\u304d\u305f\u5024\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u5c55\u958b\u3059\u308b\u51e6\u7406\u306f\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u305f\u3081\u306b\u8a18\u8ff0\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306bmysqli_close\u95a2\u6570\u3067\u63a5\u7d9a\u3092\u9589\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066XAMPP\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u78ba\u8a8d\u65b9\u6cd5\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group alignwide\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%AB%E3%83%BC%E3%83%88%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%AE%E7%A2%BA%E8%AA%8D%E6%96%B9%E6%B3%95\"><\/span>\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u78ba\u8a8d\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>XAMPP Control Panel\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"665\" height=\"432\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fbc433cc3fb9c58e2d14b94663573144.png\" alt=\"XAMPP\" class=\"wp-image-1042 size-full\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fbc433cc3fb9c58e2d14b94663573144.png 665w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fbc433cc3fb9c58e2d14b94663573144-300x195.png 300w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>Apache\u306eConfig\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"251\" height=\"189\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/a65c0d1e7b6371638d2c84f28fefd69d.png\" alt=\"XAMPP\" class=\"wp-image-1043 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p>Apache(httpd.conf)\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>httpd.conf\u5185\u3092DocumentRoot\u3067\u691c\u7d22\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"apache\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#\n# DocumentRoot: The directory out of which you will serve your\n# documents. By default, all requests are taken from this directory, but\n# symbolic links and aliases may be used to point to other locations.\n#\nDocumentRoot \"D:\/xampp\/htdocs\"<\/pre>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u306f\u3000d:\\xampp\\htdocs\u304c\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div><\/div>\n\n\n\n<p>index.php\u3092\u4fdd\u5b58\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%A2%BA%E8%AA%8D\"><\/span>\u78ba\u8a8d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>URL\u306blocalhost\/testdb\u3068\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"432\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/bb5842e58a186a758f31186acf43b207-1.png\" alt=\"browser\" class=\"wp-image-1046 size-full\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/bb5842e58a186a758f31186acf43b207-1.png 569w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/bb5842e58a186a758f31186acf43b207-1-300x228.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>var_dump\u95a2\u6570\u306b\u6e21\u3055\u308c\u305f\u63a5\u7d9a\u60c5\u5831\u304c\u5c55\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u63a5\u7d9a\u6210\u529f\u3067\u3059\u3002<\/p>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>MySQL\u3092\u6b62\u3081\u3066\u63a5\u7d9a\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"434\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6b6afdf1c4146c3d17ca1179ba3acdbd.png\" alt=\"xampp\" class=\"wp-image-1049 size-full\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6b6afdf1c4146c3d17ca1179ba3acdbd.png 668w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6b6afdf1c4146c3d17ca1179ba3acdbd-300x195.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>MySQL\u306eStop\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u5148\u307b\u3069\u306e\u30da\u30fc\u30b8\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"489\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fec4541bcac50efafb26b5e8850e252c-1024x489.png\" alt=\"browser\" class=\"wp-image-1050 size-full\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fec4541bcac50efafb26b5e8850e252c-1024x489.png 1024w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fec4541bcac50efafb26b5e8850e252c-300x143.png 300w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fec4541bcac50efafb26b5e8850e252c-768x367.png 768w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/fec4541bcac50efafb26b5e8850e252c.png 1057w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>mysqli_connect\u3068mysqli_close\u304cfalse\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E9%96%A2%E6%95%B0\"><\/span>\u4f7f\u7528\u3057\u305f\u95a2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\uff13\u3064\u306e\u95a2\u6570\u3092\u4f7f\u3063\u3066MySQL\u3078\u306e\u63a5\u7d9a\u3068\u5207\u65ad\u306e\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>mysqli_connect<\/li><li>mysqli_close<\/li><li>var_dump<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"mysqli_connect\"><\/span>mysqli_connect<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>MySQL\u3078\u306e\u65b0\u3057\u3044\u63a5\u7d9a\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"337\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/7324c0acb34426831a1ff37e67354225.png\" alt=\"vscode\" class=\"wp-image-1034\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/7324c0acb34426831a1ff37e67354225.png 688w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/7324c0acb34426831a1ff37e67354225-300x147.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u30d1\u30e9\u30e1\u30fc\u30bf<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">$host<\/h5>\n\n\n\n<p>\u63a5\u7d9a\u5148\u306e\u30db\u30b9\u30c8\u540d\u307e\u305f\u306f&nbsp;IP&nbsp;\u30a2\u30c9\u30ec\u30b9<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">$user<\/h5>\n\n\n\n<p>MySQL&nbsp;\u306e\u30e6\u30fc\u30b6\u30fc\u540d<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">$password<\/h5>\n\n\n\n<p>MySQL&nbsp;\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">$database<\/h5>\n\n\n\n<p>\u30af\u30a8\u30ea\u5b9f\u884c\u6642\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">$port<\/h5>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u756a\u53f7<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">$socket<\/h5>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u30bd\u30b1\u30c3\u30c8<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u623b\u308a\u5024<\/h4>\n\n\n\n<p>\u63a5\u7d9a\u60c5\u5831\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u3063\u3066\u304f\u308b\u3002\u5931\u6557\u3057\u305f\u5834\u5408\u306fFalse\u3092\u8fd4\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"var_dump\"><\/span>var_dump<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u30c0\u30f3\u30d7\u3057\u305f\u3044\u5909\u6570\u3092\u6e21\u3057\u3066\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"151\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6fc5ab35d147e3ad4486a6ccdb8c36e3.png\" alt=\"vscode\" class=\"wp-image-1039\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6fc5ab35d147e3ad4486a6ccdb8c36e3.png 611w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/6fc5ab35d147e3ad4486a6ccdb8c36e3-300x74.png 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u30d1\u30e9\u30e1\u30fc\u30bf<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">$expression<\/h5>\n\n\n\n<p>\u30c0\u30f3\u30d7\u3057\u305f\u3044\u5909\u6570<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u623b\u308a\u5024<\/h4>\n\n\n\n<p>\u7121\u3057<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"mysqli_close\"><\/span>mysqli_close<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u958b\u3044\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u3092\u9589\u3058\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"146\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/d240e53e0cdc77b95fc7587cbaf58a10.png\" alt=\"vscode\" class=\"wp-image-1040\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/d240e53e0cdc77b95fc7587cbaf58a10.png 520w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/d240e53e0cdc77b95fc7587cbaf58a10-300x84.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u30d1\u30e9\u30e1\u30fc\u30bf<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">$link<\/h5>\n\n\n\n<p>mysqli_connect() \u304c\u8fd4\u3059\u30ea\u30f3\u30af ID\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u623b\u308a\u5024<\/h4>\n\n\n\n<p>\u6210\u529f\u3057\u305f\u5834\u5408\u306fTRUE,\u5931\u6557\u3057\u305f\u5834\u5408\u306fFALSE\u304c\u8fd4\u308b\u3002<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u304b\u3089MySQL\u306b\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u63a5\u7d9a\u3068\u5207\u65ad\u3060\u3051\u306a\u306e\u3067\u7279\u306b\u96e3\u3057\u3044\u3068\u3053\u308d\u306f\u306a\u3044\u3093\u3067\u3059\u3051\u3069\u3001db\u540d\u3092\u6e21\u3055\u306a\u3044\u3067\u3082\u63a5\u7d9a\u304c\u3067\u304d\u308b\u3053\u3068\u306f\u65b0\u3057\u3044\u767a\u898b\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u904e\u53bb\u306bXAMPP\u306e\u8a18\u4e8b\u3082\u66f8\u3044\u3066\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u305c\u3072\u898b\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/beanhouse.org\/wordpress\/?p=486\">&gt;&gt;\u3010\u5099\u5fd8\u9332\u3011XAMPP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u304b\u3089\u306e hello world!<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/beanhouse.org\/wordpress\/?p=512\">&gt;&gt;\u3010\u5099\u5fd8\u9332\u3011XAMPP \u3067 VSCode \u306e\u62e1\u5f35\u6a5f\u80fd PHP Debug \u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n\n\n\n<p>\u304a\u308f\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3060\u3044\u305f\u3044 5 \u5206\u307b\u3069\u3067\u8aad\u3081\u307e\u3059\u3002 mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002 \u78ba\u8a8d\u3057\u305f\u74b0\u5883 OS Windows10XAMPP ver.7.4. &#8230; <\/p>\n","protected":false},"author":1,"featured_media":734,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[86,63,80],"class_list":["post-1032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-php","tag-programming","tag-memorandum"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"kiyo\"\/>\n\t<meta name=\"google-site-verification\" content=\"BBI3mQX3Otap2FZEYl1vEwheym-kxctogrezeVMUDz4\" \/>\n\t<meta name=\"keywords\" content=\"php,mysql,\u63a5\u7d9a\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"kiyoblog | \u4e00\u4eba\u89aa\u65b9\u306e\u30d6\u30ed\u30b0\u3002\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog\" \/>\n\t\t<meta property=\"og:description\" content=\"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/beanhouse.org\/wordpress\/?p=1032\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-15T03:03:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-07-15T13:24:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#article\",\"name\":\"\\u3010\\u5099\\u5fd8\\u9332\\u3011 mysqli_connect \\u3067\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5(PHP\\u00d7MySQL) | kiyoblog\",\"headline\":\"\\u3010\\u5099\\u5fd8\\u9332\\u3011 mysqli_connect \\u3067\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5(PHP\\u00d7MySQL)\",\"author\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/job_programmer.png\",\"width\":800,\"height\":643,\"caption\":\"programmer\"},\"datePublished\":\"2020-06-15T12:03:03+09:00\",\"dateModified\":\"2022-07-15T22:24:17+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#webpage\"},\"articleSection\":\"PHP, php, \\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0, \\u5099\\u5fd8\\u9332\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=13#listItem\",\"name\":\"CODE\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=13#listItem\",\"position\":2,\"name\":\"CODE\",\"item\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=13\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=110#listItem\",\"name\":\"PHP\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=110#listItem\",\"position\":3,\"name\":\"PHP\",\"item\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=110\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#listItem\",\"name\":\"\\u3010\\u5099\\u5fd8\\u9332\\u3011 mysqli_connect \\u3067\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5(PHP\\u00d7MySQL)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=13#listItem\",\"name\":\"CODE\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#listItem\",\"position\":4,\"name\":\"\\u3010\\u5099\\u5fd8\\u9332\\u3011 mysqli_connect \\u3067\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5(PHP\\u00d7MySQL)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?cat=110#listItem\",\"name\":\"PHP\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/#person\",\"name\":\"kiyo\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cbc7e4fd7f16f00cc9bb94481ad6c58b27bf1257909273994ab12a1f1eb3dc3e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"kiyo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?author=1#author\",\"url\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?author=1\",\"name\":\"kiyo\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cbc7e4fd7f16f00cc9bb94481ad6c58b27bf1257909273994ab12a1f1eb3dc3e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"kiyo\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#webpage\",\"url\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032\",\"name\":\"\\u3010\\u5099\\u5fd8\\u9332\\u3011 mysqli_connect \\u3067\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5(PHP\\u00d7MySQL) | kiyoblog\",\"description\":\"PHP\\u521d\\u5fc3\\u8005\\u306b\\u3088\\u308b mysqli_connect \\u95a2\\u6570\\u3092\\u4f7f\\u3063\\u3066PHP\\u3067MySQL\\u306b\\u63a5\\u7d9a\\u3059\\u308b\\u65b9\\u6cd5\\u306e\\u5099\\u5fd8\\u9332\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/job_programmer.png\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032\\\/#mainImage\",\"width\":800,\"height\":643,\"caption\":\"programmer\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/?p=1032#mainImage\"},\"datePublished\":\"2020-06-15T12:03:03+09:00\",\"dateModified\":\"2022-07-15T22:24:17+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/\",\"name\":\"kiyoblog\",\"description\":\"\\u4e00\\u4eba\\u89aa\\u65b9\\u306e\\u30d6\\u30ed\\u30b0\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/beanhouse.org\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog","description":"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002","canonical_url":"https:\/\/beanhouse.org\/wordpress\/?p=1032","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"php,mysql,\u63a5\u7d9a","webmasterTools":{"google-site-verification":"BBI3mQX3Otap2FZEYl1vEwheym-kxctogrezeVMUDz4","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#article","name":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog","headline":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL)","author":{"@id":"https:\/\/beanhouse.org\/wordpress\/?author=1#author"},"publisher":{"@id":"https:\/\/beanhouse.org\/wordpress\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer.png","width":800,"height":643,"caption":"programmer"},"datePublished":"2020-06-15T12:03:03+09:00","dateModified":"2022-07-15T22:24:17+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#webpage"},"isPartOf":{"@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#webpage"},"articleSection":"PHP, php, \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0, \u5099\u5fd8\u9332"},{"@type":"BreadcrumbList","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/beanhouse.org\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=13#listItem","name":"CODE"}},{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=13#listItem","position":2,"name":"CODE","item":"https:\/\/beanhouse.org\/wordpress\/?cat=13","nextItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=110#listItem","name":"PHP"},"previousItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=110#listItem","position":3,"name":"PHP","item":"https:\/\/beanhouse.org\/wordpress\/?cat=110","nextItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#listItem","name":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=13#listItem","name":"CODE"}},{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#listItem","position":4,"name":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL)","previousItem":{"@type":"ListItem","@id":"https:\/\/beanhouse.org\/wordpress\/?cat=110#listItem","name":"PHP"}}]},{"@type":"Person","@id":"https:\/\/beanhouse.org\/wordpress\/#person","name":"kiyo","image":{"@type":"ImageObject","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/cbc7e4fd7f16f00cc9bb94481ad6c58b27bf1257909273994ab12a1f1eb3dc3e?s=96&d=mm&r=g","width":96,"height":96,"caption":"kiyo"}},{"@type":"Person","@id":"https:\/\/beanhouse.org\/wordpress\/?author=1#author","url":"https:\/\/beanhouse.org\/wordpress\/?author=1","name":"kiyo","image":{"@type":"ImageObject","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/cbc7e4fd7f16f00cc9bb94481ad6c58b27bf1257909273994ab12a1f1eb3dc3e?s=96&d=mm&r=g","width":96,"height":96,"caption":"kiyo"}},{"@type":"WebPage","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#webpage","url":"https:\/\/beanhouse.org\/wordpress\/?p=1032","name":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog","description":"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/beanhouse.org\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#breadcrumblist"},"author":{"@id":"https:\/\/beanhouse.org\/wordpress\/?author=1#author"},"creator":{"@id":"https:\/\/beanhouse.org\/wordpress\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/job_programmer.png","@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032\/#mainImage","width":800,"height":643,"caption":"programmer"},"primaryImageOfPage":{"@id":"https:\/\/beanhouse.org\/wordpress\/?p=1032#mainImage"},"datePublished":"2020-06-15T12:03:03+09:00","dateModified":"2022-07-15T22:24:17+09:00"},{"@type":"WebSite","@id":"https:\/\/beanhouse.org\/wordpress\/#website","url":"https:\/\/beanhouse.org\/wordpress\/","name":"kiyoblog","description":"\u4e00\u4eba\u89aa\u65b9\u306e\u30d6\u30ed\u30b0\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/beanhouse.org\/wordpress\/#person"}}]},"og:locale":"ja_JP","og:site_name":"kiyoblog | \u4e00\u4eba\u89aa\u65b9\u306e\u30d6\u30ed\u30b0\u3002","og:type":"article","og:title":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog","og:description":"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002","og:url":"https:\/\/beanhouse.org\/wordpress\/?p=1032","article:published_time":"2020-06-15T03:03:03+00:00","article:modified_time":"2022-07-15T13:24:17+00:00","twitter:card":"summary","twitter:title":"\u3010\u5099\u5fd8\u9332\u3011 mysqli_connect \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5(PHP\u00d7MySQL) | kiyoblog","twitter:description":"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002"},"aioseo_meta_data":{"post_id":"1032","title":null,"description":"PHP\u521d\u5fc3\u8005\u306b\u3088\u308b mysqli_connect \u95a2\u6570\u3092\u4f7f\u3063\u3066PHP\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3002","keywords":[{"label":"PHP","value":"PHP"},{"label":"MySQL","value":"MySQL"},{"label":"\u63a5\u7d9a","value":"\u63a5\u7d9a"}],"keyphrases":{"focus":{"keyphrase":"mysqli_connect","score":73,"analysis":{"keyphraseInTitle":{"title":"Focus keyphrase in SEO title","description":"Focus keyphrase found in SEO title.","score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"title":"Focus keyphrase in meta description","description":"Focus keyphrase found in meta description.","score":9,"maxScore":9,"error":0},"keyphraseLength":{"title":"Focus keyphrase length","description":"Good job!","score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"title":"Focus keyphrase in URL","description":"Focus keyphrase not found in the URL.","score":1,"maxScore":5,"error":1},"keyphraseInIntroduction":{"title":"Focus keyphrase in introduction","description":"Your Focus keyphrase appears in the first paragraph. Well done!","score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"title":"Focus keyphrase in Subheadings","description":"Use more focus keyphrases in your H2 and H3 subheadings!","score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"title":"Focus keyphrase in image alt attributes","description":"Focus keyphrase not found in image alt attribute(s). Add an image with your Focus keyphrase as alt text.","score":3,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-20 23:05:28","updated":"2022-09-13 16:59:39","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1032"}],"version-history":[{"count":22,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1032\/revisions"}],"predecessor-version":[{"id":3004,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1032\/revisions\/3004"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/734"}],"wp:attachment":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}