• This project
    • Loading...
  • Sign in

최시원 / Singer-Composer

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Singer-Composer
  • db
  • db_board.js
  • Mukho's avatar
    Board hits, Profile-session, Add link, etc · 7bd590ac
    7bd590ac
    Mukho authored 2021-11-19 06:31:23 +0900
db_board.js 575 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
var mysql = require('mysql');
var config = require('./db_info').board;

module.exports=function(){
    return{
        init: function(){
            return mysql.createConnection({
                host:'localhost',
                port:3306,
                user:'root',
                password:'',
                database:'singer_composer'
                // host:config.host,
                // port:config.port,
                // user:config.user,
                // password:config.password,
                // database:config.database
            })
        }
    }
}