RESETTING MYSQL ROOT PASSWORDS

Similar documents
Download and install MySQL server 8 in Windows. Step1: Download windows installer

How to recover a lost administrator password?

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

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

Bitnami MariaDB for Huawei Enterprise Cloud

MySQL 5.x on QNX Neutrino OS Step-by-step installation manual

1. Open Outlook by clicking on the Outlook icon. 2. Select Next in the following two boxes. 3. Type your name, , and password in the appropriate

Set up your computer to sync your OneDrive for Business files in Office 365

Bitnami MySQL for Huawei Enterprise Cloud

VMWARE HORIZON CLIENT INSTALLATION USER GUIDE

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

WINDOWS CONFIGURATION

Generes and Associates. Desktop Setup Guide LANDTECH ONLINE

Portal User Guide. Best practice tips and shortcuts Icon Legend Informational notes about functions. Important warnings about a function

Locate your Advanced Tools and Applications

MySQL DOWNLOAD & INSTALLATION GUIDE

How to Install and Setup VoIPOffice Communicator for Mac

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

Resource Account Instructions

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Citrix Desktop for Home Computers Mac OS Instructions

System Requirements for Mac OS X Clients. Download View Client Package. **Take note: This guide is not a detailed step by step guide.

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

Appserv Internal Desktop Access Mac OS Device with Safari Browser. Enter your Appserv username and password to sign in to the Website

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

The Veritext Vault. User Guide. Veritext s Secure Online Depository. THE VAULT USER GUIDE Updated 8/24/16 1

Locate your Advanced Tools and Applications

How to Use Launch on a Desktop

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

CCH Client Axcess Portal User Guide

Kaltura Video Allowing Third-Party Cookies

Setting up a Display. Updated 4/25/2017 Version 1.0

Office 365. Exporting and Importing Safe and Blocked Senders List

MySQL Installation Guide (OS X)

COP 3014: Spring 2018 A Guide to Using CLion

QuickStart Guide for Managing Computers. Version

How to Connect to the CSH Virtual Desktop

SQream Dashboard Version SQream Technologies

Connecting Remotely Staff & Students

Summary of Instructions to Download Adobe CC 2014 Staff Work At Home

QuickStart Guide for Managing Computers. Version 9.73

Installing Firefox on Mac

QuickStart Guide for Managing Computers. Version 9.32

Digital Pack Tutorial - For Mac

1. Turn on your laptop. The power button/key is in the topright corner of your keyboard.

Setup Guide September 2013

Reset the Admin Password with the ExtraHop Rescue CD

MassTransit 6.0 Installation Guide for Enterprise and Professional Servers on Macintosh

CST VMWare Documentation

If your Mac keeps asking for the login keychain password

MySQL Installation Guide

Downloading Library Ebooks to the Nook

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module.

Installing AGO2GO on a Mac 10.9 to 10.12

QuickStart Guide for Managing Computers. Version

Instruction Guide! VERITEXT VAULT - ONLINE DEPOSITORY

Outlook and Outlook Web App. Sharing and Accessing Subfolders

TIBCO LiveView Web Getting Started Guide

IT Essentials v6.0 Windows 10 Software Labs

Virtual Desktop Infrastructure Setup for MacOS

Virtual Desktop Infrastructure Setup for MacOS

Installing the Panopto onto a Windows PC

PISA 2018 COMPUTER-BASED SCHOOL QUESTIONNAIRE: PRINCIPAL S MANUAL

Quick Guide to Installing and Setting Up MySQL Workbench

Easy Worklog for JIRA. User Manual

Microsoft Outlook. How To Share A Departmental Mailbox s Calendar

Document Manager User Guide

Café Soylent Green Chapter 12

How to make a Work Profile for Windows 10

Here are the steps in downloading the HTML code for signatures:

Guide to using Simply Web

RWT Network System Installation Guide

Manual File System Check Mac Os X 10.8

WebEx. Web Conferencing Tool. Fordham IT

Physicians Remote Access Installation for Mac OS X

How to set up an Amazon Work Profile for Windows 8

CCH Client Axcess Portal User Guide

Data Analysis and Integration

Guidelines for uploading and downloading documents through Logicaldoc

CCH Client Axcess User Guide

If this is the first time you have run SSMS, I recommend setting up the startup options so that the environment is set up the way you want it.

Kanguru Defender Secure USB Flash Drive

Blackboard Content Collection Overview

What s New in Cognos. Cognos Analytics Participant s Guide

Secure Internet File Transfer (SIFT) HTTPS User Guide. How to send and receive files via HTTPS using SIFT

Setting Up a Linux Operating System

NET-DYN USB Dual Band (Mediatek) Installation Guide. This manual is divided into three parts: Windows XP, Windows 7 / 8 / 8.

MIS2502: Data Analytics MySQL and SQL Workbench. Jing Gong

How To Remove Virus From Windows OS

REV OBSERVER for WINDOWS

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

Perceptive Nolij User Guide 6.8.5

Remote Desktop Services

This quick reference guide is designed for consumers of the Program Dashboard and provides details on how to: Log in

Mac OSX: Citrix Workspace Setup

DynEd Pro Courseware Installation Guide

1 Installation (briefly)

SimpleText User s Guide

Joomla 2.5 Kunena Component Installation

Transcription:

RESETTING MYSQL ROOT PASSWORDS This document contains instructions on how to reset MySQL root passwords on a Mac. Windows instructions to follow. The summary of the procedure is this: 1. Stop the MySQL server 2. Restart it in safe mode 3. Log in and change the root password 4. Stop the safe mode server 5. Restart the normal server

Instructions For The Mac Kill the running MySQL server by selecting MySQL from system preferences, then clicking stop. Open a terminal and start mysql in safe mode like this: sudo /usr/local/mysql/bin/mysqld_safe skip-grant-tables This will ask you for your computer password. Enter it. This process keeps on running, so leave it be and open a new terminal to connect to the MySQL shell mysql -u root What you re going to do next is change the password in the user table. The following will make more sense after completing the SQL bootcamp: UPDATE mysql.user SET authentication_string=password( password') WHERE User='root'; Hit enter, then type FLUSH PRIVILEGES; And hit enter again. Quit by typing \q and hitting enter. Now all we need to do is kill off the safe mode version of the MySQL server. I generally do this with sudo killall mysqld_safe Finally, restart the standard MySQL server, by going to System Preferences, MySQL, then clicking Start the server.

Instructions For Windows These instructions to follow.

INSTALLING MYSQL SERVER Go to the MySQL downloads page, found here: https://dev.mysql.com/downloads/mysql/ You should download the DMG version of the server (leftmost red arrow), by clicking the blue download button to the right of the screen

If you are using the Mac s default Safari browser, your download will appear in the top-right of the browser window. You can click the button with the down-arrow to watch the progress of the download

If you are using a different browser, this will look somewhat different, but the rest of the process is the same. The MySQL download is 338MB, so it will take a few minutes to download. Once it has downloaded, double click the file name This will open the DMG file, it contains a.pkg file that installs MySQL. Double click it

This will open the MySQL Server installer, click continue Click continue again, and agree to the software license. On the next screen, a standard installation is fine, so click Install.

The Installer will ask for your password, input it The installer may give you a root password. Keep this somewhere safe, it could be useful. If you forget it, you can reset it by following the instructions here: http://dev.mysql.com/ doc/refman/5.7/en/resetting-permissions.html

If everything went well, you will see this screen. Congratulations, MySQL server is installed!

INSTALLING MYSQL WORKBENCH Navigate your browser to the MySQL Workbench download page at https://dev.mysql.com/downloads/workbench/ Select your operating system (Mac OSX) from the dropdown, and click Download.

Again, skip the login step by clicking No thanks, just start my download. This will begin the download of Workbench, which will appear to the top left of your browser. Again, the image above shows the file download location in Safari, if you re using a different browser it may appear in a different place. Once the file is downloaded, double click it

Drag the MySQLWorkbench icon into your Application folder. Congratulations, you have installed MySQL Workbench!

TESTING THAT YOUR INSTALLATION WORKED MySQL Server In order to check that MySQL Server is running, you need to look at the MySQL section of your system settings. Click the Apple icon in the top-left corner of your screen, and select System Preferences From the System Preferences pane, select MySQL

And you ll see the following window The window should tell you that the server is running. If it is not, then click Start MySQL Server to the right of the pane. Additionally, we want to automatically start the MySQL server when you boot your computer, so ensure that Automatically Start MySQL Server on Startup is checked. MySQL Workbench To open MySQL Workbench, navigate to your applications folder and double click MySQL Workbench If this is the first time you have run MySQL Workbench, you ll have to verify that you intend to run a downloaded application, click Open

And then you should be greeted with the following window There should be a dark box to the top right of the window. This represents Workbench s connection to your MySQL Server. If there is no box here, ensure that MySQL Server is running.

Double click the dark box and you ll be taken to the SQL query editor You can verify that everything is working by typing SHOW DATABASES; into the main window

And clicking the thunderbolt icon above that window. This should return some results that look like this: Note that your list of databases will look different to mine, but as long as some things appear in the results window, everything is up and running!