JavaScriptã¨MySQLãã¤ãªããããããNode.jsãªããã #åç½®ã node.jså§ãã¦3æ¥ç®ç¨åº¦ã®ç¥èã§æ¸ãã¦ãã¾ãã ã¾ããMySQLããããªã«è©³ããããã§ã¯ãªãã§ãã ãã®è¨äºã¯æ¬å®¶ã®ããã¥ã¡ã³ããå ã«ä½æãã¾ããã ã³ã¼ããã»ã¼æ¬å®¶ã®ã³ããã§ãã ééãçããã¾ãããã³ã¡ã³ãã§ãããã¦ãã ããã ããã§ã¯node-mysqlã使ãã¾ãã #ã¤ã³ã¹ãã¼ã« npm install mysql #ã³ãã¯ã·ã§ã³ var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', user : 'me', password : 'secret' }); //ããã¯çç¥ãã¦ãoKã connection.connect();
{{#tags}}- {{label}}
{{/tags}}