GithubHelp home page GithubHelp logo

ecomm's Introduction

###TextTrade### ##Database Instructions## The reason why we are using the root account of MySQL is because so far, we haven't created any database users with restricted access rights. We will fix this later. Until then, be careful because our database is not secure. #Creating your database#

  1. As soon as you downloaded XAMPP, start MySQL.
  2. Open the shell for MySQL.
  3. Type in the command: "mysql -u root -p" (command is "/Applications/xampp/xamppfiles/bin/mysql -u root -p" if using XAMPP on mac).
  4. When the prompt requests your password, just press enter.
  5. You are now in the MySQL command. Type in "create database ecomm;"
  6. Done. You have created your database. Type "exit" to exit MySQL. #Updating your database from db.sql#
  7. Start XAMPP, and press the "Start" button for MySQL
  8. Open the shell for MySQL and cd into the directory of your Github repository
  9. Type the command: "mysql -u root -p ecomm < db.sql"
  10. When the prompt requests your password, just press enter.
  11. Your database is udpated. Exit MySQL. #Pushing your changes onto db.sql#
  12. Start XAMPP, and press the "Start" button for MySQL
  13. Open the shell for MySQL and cd into the directory of your Github repository
  14. Type the command: "mysqldump -u root -p ecomm > db.sql"
  15. You have updated the shared database.

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.