CSCI 201 Lab #11 Prof. Jeffrey Miller 1/23. Lab #11 CSCI 201. Title MySQL Installation. Lecture Topics Emphasized Databases

Similar documents
Quick Guide to Installing and Setting Up MySQL Workbench

Lab #8 1/8 CSCI 201. Title Networking Worksheet. Lecture Topics Emphasized Networking Theory

Eclipse Environment Setup

CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Part I: Movie review database.

Server-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1

3344 Database Lab. 1. Overview. 2. Lab Requirements. In this lab, you will:

MIS2502: Data Analytics MySQL and SQL Workbench. Jing Gong

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks

CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS First Name: Last Name: NetID:

CPSC150L Lab 0 Lab Set Up

GradeConnect.com. User Manual

Server 2 - MySQL #1 Lab

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1

5. A small dialog window appears; enter a new password twice (this is different from Dori!) and hit Go.

CSCI 1100L: Topics in Computing Lab Lab 1: Introduction to the Lab! Part I

RESETTING MYSQL ROOT PASSWORDS

Managing Your Grade Book This lesson will show you how to set up your grade book columns and have Canvas calculate your final grades for you.

CSCI 201 Lab 1 Environment Setup

Data. Selecting Data. Sorting Data

Implement an ADT while using Subversion

CIS 3308 Web Application Programming Syllabus

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

SpeechClass Instructor Quick Start for A Speaker s Guidebook, Fourth Edition

Chapter 5. Exploring Navicat and Sequel Pro

EECE.2160: ECE Application Programming

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

GETTING STARTED GUIDE

Travel and Expense Management Training Manual

WebMatrix: Why PHP Developers Should Pay Attention

Creating Accessible PDFs

PsychPortal Instructor Quick Start for Myers, Psychology 10e In Modules

GeographyPortal Instructor Quick Start World Regional Geography Without Subregions, Fifth Edition Pulsipher

Student User Guide for EconPortal Macroeconomics in Modules, Second Edition

Valuable points from Lesson 6 Adobe Flash CS5 Professional Classroom in a Book

CS121 MIDTERM REVIEW. CS121: Relational Databases Fall 2017 Lecture 13

Moodle Morsels from Sandy & Inkie. b. Click (Log in) on the upper right c. You will use your stpsb login, which is how you login to a computer

EnviroPortal Instructor Quick Start for Friedland, Relyea, & Courard-Hauri Environmental Science: Foundations and Applications

CS 051 Homework Laboratory #2

In this exercise you will practice some more SQL queries. First let s practice queries on a single table.

LABSHEET 1: creating a table, primary keys and data types

EconPortal Instructor Quick Start for Krugman/Wells Macroeconomics, 3e

Student User Guide for PsychPortal Psychology Tenth Edition In Modules

Working with SQL SERVER EXPRESS

CME E-quotes Wireless Application for Android Welcome

Student User Guide for StatsPortal Introduction to the Practice of Statistics, Sixth Edition

GEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL

Directions for Moodle Scholarship Application Part 1: Entering Moodle for the First Time

Student User Guide for GeographyPortal The Human Mosaic, Twelfth Edition

CIS 101 Orientation Document Fall 2017

Before you get started, make sure you have your section code since you ll need it to enroll. You can get it from your instructor.

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client

Student User Guide for BioChemPortal Biochemistry: A Short Course, 2e

Pivot (Formerly Community of Science)

Contents. Signing In... 3 Answering Your Personal Security Question... 4 Forgetting Your Password... 4 Exploring the Learning Center Interface...

By clicking the indicated Download button your browser downloads the installer package for you to run manually.

Importing source database objects from a database

MySQL SERVER INSTALLATION, CONFIGURATION, AND HOW TO USE WITH STARCODE NETWORK

CS : Programming for Non-majors, Fall 2018 Programming Project #2: Census Due by 10:20am Wednesday September

Install instructions for Windows

Introduction to Web Design & Computer Principles

Student User Guide for StatsPortal The Basic Practice of Statistics, Fifth Edition

CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts)

Parish . User Manual

CS 201 Advanced Object-Oriented Programming Lab 6 - Sudoku, Part 2 Due: March 10/11, 11:30 PM

1. To access the Course settings page, click Edit settings in the Administration block.

CS 200. Lecture 05. Database Introduction. Database Introduction. CS 200 Spring Monday, June 3, 2013

RouteOp. Step 1: Make sure requirements are met.

S-231 Engine Boss was revised in 2012 to allow students the opportunity to access content at their own pace, online.

Textbook. Topic 8: Files and Exceptions. Files. Types of Files

NOTE: If your student is 18+, you do not need to give your consent and can skip ahead to page 6.

ArtiosCAD Installation Advisor

Student User Guide for GeneticsPortal Introduction to Genetic Analysis Tenth Edition Griffiths, Wessler, Carroll, and Doebly

CPSC 150 Laboratory Manual. Lab 1 Introduction to Program Creation

Tips & Tricks for edx-forums

Module - P7 Lecture - 15 Practical: Interacting with a DBMS

Migrating Data from Archivists Toolkit to ArchivesSpace Using the Migration Tool last updated December 19, 2017

Chapter Copy Buckets

SIS STUDENT INFORMATION CENTER

Lab 1: Setup 12:00 PM, Sep 10, 2017

Marketing Research Participation for BUAD 307

Getting Started with Visual Basic 2005 Express Edition

USING DRUPAL. Hampshire College Website Editors Guide

AGE VERIFICATION REFERENCE MANUAL

Revision 1, September 29, 2011 Page 1

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp.

Archivists Toolkit Internal Database

Installation of Microsoft SQL Server 2012 Setup MwPharm++ database

CSCI 4000 Assignment 6

Welcome To Account Manager 2.0

VERSION Lab 3: Link Layer

Money Management Account

Creating a Quote. Topics covered in this guide: 1. Full Quotes 2. esignature with DocuSign 3. Duplicate a Quote 4. Quick Quotes

FDM RMS User Guide. Basic Navigation & Use

edofe Management Toolkit

ACE - Online Application Instructions FOLLOW THESE DIRECTIONS EXACTLY AS INDICATED *

APP-J: WHAT IS APPLICATION JUKEBOX?

CSCI 4000 Assignment 4

Step 1: Adding Darwin to your computer

Gradekeeper Version 5.7

Transcription:

Lab #11 CSCI 201 Title MySQL Installation Lecture Topics Emphasized Databases Introduction This lab will introduce you to MySQL. Before being able to run the DBMS, we will need to install it. There is another tool that helps us to visualize the database called MySQL Workbench that we will also install. By the end of this lab, you will have a working version of MySQL and be able to insert and select from a database you have created. If you are running OSX, go to page 10 to find your installation instructions. Description Part 1.1 Download and Installation in Windows Windows 7/8/8.1/10 Go to http://dev.mysql.com/downloads/windows/installer/ Click either the first or second download. It doesn t matter which. 1/23

You don t need to sign up or log in. Just say no thanks. THE INSTALLER WILL ASK YOU TO SAVE A TEMPORARY PASSWORD. SAY YES! Accept the license agreement. 2/23

Choose Developer Default. This will install everything we need and more. You may get a warning similar to this. Just make sure they aren t related to Java. 3/23

Press Execute and wait for everything to finish. 4/23

Press Next > Leave everything as is. 5/23

You do need to create a user account. Make the username and password ʹrootʹ. If you do not do this the next lab will be unnecessarily difficult. You will be using this username and password for all class SQL labs/projects. Yes, this is generally a bad idea in real life applications, but we will gloss over this for the sake of learning SQL. After this is done, press Next > 6/23

Press Execute, and wait for everything to finish. Press Next > 7/23

Enter the username and password. And check the connection. Press Next > Press Execute and wait for it to finish. 8/23

Press Next > All done! MySQL is installed. Go ahead and start MySQL Workbench. Go to page 16 to continue. 9/23

Part 1.2 Download and Installation in OSX Go to http://dev.mysql.com/downloads/mysql/ Select a download for your machine. Do not download the.tar file!!! Download the.dmg file (yes it is bigger!) Continue THE INSTALLER WILL ASK YOU TO SAVE A TEMPORARY PASSWORD. SAY YES! 10/23

Continue Select a destination, then install. 11/23

Close Now, start the MySQL server by going to System Properties. 12/23

Select MySql and this window will appear. Press Start MySQL Server. The server will then start. 13/23

Now, go to http://dev.mysql.com/downloads/workbench/ Download and Install. 14/23

Now, launch MySQLWorkbench. 15/23

Part 2 MySQL Workbench On Windows, you will see a single connection. For Mac, you won t have any connections yet. Press the plus button to make a new For Windows, Right click and select Edit Connection For Mac, press New. Set the connection name to something a bit more meaningful such as My201SQL. 16/23

Now double click the grey box to open the editor Enter your password you set earlier. 17/23

You will see the following page. Click the highlighted button to create a new schema. 18/23

Enter a name for the schema. Once you press Apply a new window will pop up. Press Apply. This will create the new schema. 19/23

Double click the schema to select it. Click the highlighted button to create a new table. Go ahead and name the table. Also insert two columns. 20/23

Name the columns name and created. The name column will correspond to the name of the resource. The created column will correspond to the number of that resource that has been created. Press Apply and you will see another window like before. Once again, hit Apply. This new table will be generated. Click the highlighted button to view the new table. 21/23

The table is empty. We can type values in manually, but we should have Java code do the work for us. 22/23

Part 3 Creating Tables Create a new table, and name it factoryresources. Look in the factory.txt file in your Factory project and duplicate the information into the factoryresources table in the mysql workbench. You donʹt have to write any Java code, just try to get used to using mysql and looking up instructions on how to do things on the internet. This doesnʹt mean that you will not be coding at all, you will need to write some SQL code. Try looking though the resource below, and pay close attention to the INSERT and SELECT statements. If you donʹt end up using these statements there are other ways to do this. http://www.w3schools.com/sql/ Hint: Once you have created a new table, there should be a window up top that allows you to enter and execute SQL code. You can run it by clicking the little lightning button. If you want default values to appear on the table, there will be one additional step to get an extra row to appear. Grading Criteria Labs are not graded based on any given criteria but are instead graded on effort and attendance. If you arrived to lab within the first 10 minutes and worked on it the for the entire duration of the lab, you will receive full credit regardless of whether you completed it. TAs will not grade labs until after at least half the lab period has elapsed. Use the lab time as an opportunity to more fully understand the course material and ask your TA questions. 23/23