Code Monkey home page Code Monkey logo

minecrafr-sever-host's Introduction

Hướng dẫn sử dụng

  • Up Code lên Host là được
  • Sản phẩm chỉ mang tính chất tham khảo

PHẦN NẠP THẺ :

  • B1. Tạo một database
  • B2. Tạo một user và cho nó vào database (Nhớ cho user full quyền)
  • B3. Vào PhpMyAdmin, up file .sql vào database
  • B4. Config Database ở Iz_Shower/db-config.php
  • Vậy là xong.

PHẦN ĐĂNG KÝ (Kết nối AuthMe với MySQL) :

  • Lưu ý : server.pro sẽ chặn kết nối nên đừng làm trên đó
  • B1. Làm bước 1, 2 và 3 của phần Nạp Thẻ
  • B2. Config Database ở IzShower/AuthMeController.php (Dòng 120 - 123)
  • B3. Vào file server của bạn và config plugin AuthMe những dòng sau :
  • backend: MYSQL (Chỉnh là MySQL chứ không lẽ SQLITE? Này hoạt động trên MySQL mà.)
  • mySQLHost: 'Host SQL của bạn'
  • mySQLPort: '3306' (Để nguyên là 3306 - Nếu port khác thì chỉnh)
  • mySQLUsername: 'Username đã tạo'
  • mySQLPassword: 'Password của Username đã tạo'
  • mySQLDatabase: 'Tên Database'
  • -> Những phần trong database cần chỉnh như sau :
  • mySQLTablename: users
  • mySQLColumnId: id
  • mySQLColumnName: username
  • mySQLRealName: realname
  • mySQLColumnPassword: password
  • mySQLColumnEmail: email
  • mySQLColumnLogged: isLogged
  • mySQLColumnHasSession: hasSession
  • mySQLColumnIp: ip
  • mySQLColumnLastLogin: lastlogin
  • mySQLColumnRegisterDate: regdate
  • mySQLColumnRegisterIp: regip

minecrafr-sever-host's People

Contributors

nguyenthehoang29th122009 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.