Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New to databases #31

Open
addictionInk opened this issue May 13, 2018 · 4 comments
Open

New to databases #31

addictionInk opened this issue May 13, 2018 · 4 comments

Comments

@addictionInk
Copy link

I have to create a database for a school project and I am brand new to databases, is there a way to easily import this to access? Thank you for any guidance you can provide.

@daugaard47
Copy link

I can probably help you. Created an older website using this repo a few years back if I can find it, I'll shoot over the sql file.

@daugaard47
Copy link

Wait nevermind. They give you the most recent sql files. Simply import the file to your DB.

@addictionInk
Copy link
Author

I'm new to Github too and haven't figured out how to download the file. When I click on it, it just opens, right click does not give me the option to download. Thank you for the help.

@daugaard47
Copy link

If you're not familiar with how to use the command line, simply click the green button where it says Clone or Download

  1. Then download the zip. > Open the zip > Drag the files to your project folder called DB or whatever.
  2. After that I'm assuming you're using PhpMyadmin:
  3. Create a new Database... I.E. 'Cars'
  4. Then copy and paste the schema.sql code in the SQL section of PhpMyadmin to create TABLE VehicleModelYear
  5. Then import the data.sql file into your newly created Database. You can copy and past the SQL code to do this if needed
  6. From there use php queries to calls to fetch the data from your Database.

Side note: you can run things much quicker if you learn Git. Here is a great tutorial to get you started:
Git-ing Started with Git

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants