0% found this document useful (0 votes)
9 views20 pages

Uninstalling MySQL Workbench on Mac

Uploaded by

monica.jitao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views20 pages

Uninstalling MySQL Workbench on Mac

Uploaded by

monica.jitao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Windows

▪ Uninstall MySQL on Windows


• Uninstall MySQL.
• Remove the following three MySQL folders.

▪ Install XAMPP on Windows

Database System Concepts - 7th Edition 9.1 ©Silberschatz, Korth and Sudarshan
Uninstall MySQL on Windows
Two steps: First, uninstall MySQL. Second, remove all MySQL folders

1. 2.

Database System Concepts - 7th Edition 9.2 ©Silberschatz, Korth and Sudarshan
3. left click MySQL Workbench CE and 4. similarly uninstall MySQL server
choose uninstall and MySQL installer

Database System Concepts - 7th Edition 9.3 ©Silberschatz, Korth and Sudarshan
5. click view

6. enable view hidden items

Database System Concepts - 7th Edition 9.4 ©Silberschatz, Korth and Sudarshan
7. Now, you can find the following three MySQL folders at the
corresponding folder. Delete them. Note that V330 is my user
name. Your user name should be different.

8. Now, you can see that mysql has been removed.

Database System Concepts - 7th Edition 9.5 ©Silberschatz, Korth and Sudarshan
Install XAMPP on windows

1. Download the installer

Database System Concepts - 7th Edition 9.6 ©Silberschatz, Korth and Sudarshan
2. Double click the installer to install XAMPP

Database System Concepts - 7th Edition 9.7 ©Silberschatz, Korth and Sudarshan
3. Only choose Apache Server, MySQL, PHP, phpMyAdmin

Database System Concepts - 7th Edition 9.8 ©Silberschatz, Korth and Sudarshan
4. Start installation

If asked, uncheck public networks and check private networks

Database System Concepts - 7th Edition 9.9 ©Silberschatz, Korth and Sudarshan
Create a folder to store your php files

1. I call it www. But it can have different name and be placed any where.

2. Copy its address as text

Database System Concepts - 7th Edition 9.10 ©Silberschatz, Korth and Sudarshan
3. Press conf of Apache and choose [Link]

4. Find and replace the


two “C:/xampp/htdocs”
by the address of the
folder created in step 1

Database System Concepts - 7th Edition 9.11 ©Silberschatz, Korth and Sudarshan
5. Press “Start” to start Apache and MySQL servers

Database System Concepts - 7th Edition 9.12 ©Silberschatz, Korth and Sudarshan
How to use phpMyAdmin
(same as how to use it in Mac)

1. In a browser, open [Link]

Database System Concepts - 7th Edition 9.13 ©Silberschatz, Korth and Sudarshan
2. Click “Databases” tab, enter “university” as database name, then press “Create”.

Database System Concepts - 7th Edition 9.14 ©Silberschatz, Korth and Sudarshan
3. Choose “Import” tab. After choosing the file, scroll down to press “import”

Database System Concepts - 7th Edition 9.15 ©Silberschatz, Korth and Sudarshan
4. After you press import.

Database System Concepts - 7th Edition 9.16 ©Silberschatz, Korth and Sudarshan
5. Similarly, import the file downloaded from [Link] to populate the tables.

Database System Concepts - 7th Edition 9.17 ©Silberschatz, Korth and Sudarshan
6. Enter queries in SQL tab. Then press go.
You can also directly click the database name to choose a database;

Database System Concepts - 7th Edition 9.18 ©Silberschatz, Korth and Sudarshan
7. Results:

Database System Concepts - 7th Edition 9.19 ©Silberschatz, Korth and Sudarshan
▪ How to run php files on windows is identical to how to do it on Mac. It is
shown in the slides for chapter 6.

Database System Concepts - 7th Edition 9.20 ©Silberschatz, Korth and Sudarshan

You might also like