SQL Installation and Set Up FAQs 20221121
SQL Installation and Set Up FAQs 20221121
1.1 While Installing the MySQL, which of the following options should I
select ?
Once the download is complete, you should refer to the steps provided in the
MySQL installation. You should select the Full version as a Set up type while installing it.
Refer to the highlighted option in the following image.
[email protected]
KP2WFEJ3RX
[email protected]
KP2WFEJ3RX
The issue might be due to unavailability of Microsoft Visual C++ 2015-2019 Redistributable in
Step 1 - Go to the Programs under Control Panel and search for Microsoft Microsoft Visual
Step 2 - If it is not available, you can download it from the following link for X64.
Step 3 - Once it is installed, now you can try to install MySQL using the provided video for
installation.
[email protected]
KP2WFEJ3RX
1.4 I am not able to use MySQL’s latest version. The error says I can not use
this version on my operating system as it is not compatible with the latest
version of MySQL installer. What should I do to fix this?
If your Mac is older than MySQL then you have to install the Archive version of MySQL. Refer
to the following example.
You can select the Product version and OS from the drop down and then download.
Following image is just an example.
[email protected]
KP2WFEJ3RX
Please note that uninstalling MySQL using the Control Panel does not necessarily remove
all the MySQL files from your system. Hence you should use the FAQ- Uninstallation of
MYSQL for Uninstalling it, and then try to re-install it using the MySQL Installation guide.
2.0 I don't know how to get tables and data from the given
ORDERS_DB file. How to import this file into the MySQL workbench?
Step 1 - Go to Server from the top left menu and click on Data Import
[email protected]
KP2WFEJ3RX
Step 2 - Select Import from Self-Contained File and browse the SQL dump file
[email protected]
KP2WFEJ3RXStep 4 - Go to the Import Progress tab from the top and hit the Start Import button in the
bottom right section.
[email protected]
KP2WFEJ3RX
Step 5 - Go to Schemas in the left menu and click on the refresh icon. You will be able to see
the added tables/schemas here.
[email protected]
KP2WFEJ3RX
Method 1 - You can double click on the database to select the database to write queries.
OR
Method 2 - You can refer to the following command to select the database.
USE database_name;
Once the database is selected using any of the above mentioned methods, the selected
database will be seen as bold under the SCHEMAS section . For example, the orders database
has been selected in the following image.
4.0 I have
[email protected] imported a dump file into SQL workbench. I am not able to
KP2WFEJ3RX
see the imported database. How to refresh the schema in the MySQL
workbench ?
You can click on the refresh icon next to the SCHEMAS under Navigator. You can refer to the
above screenshot for the same.
macOS - How To Open Unidentified Developer Apps & Allow Downloads From Anywhere On
Apple Mac
6.0 I have downloaded the New Wheels project file and I am not able to
Unzip these files. How to unzip these files ?
If you are not able to open the zip files provided in the course content you can refer to
the following steps for Windows and Mac users respectively.
I am a Windows user
Refer to the following steps to unzip the file using WinRAR for Windows
● Download the dataset file
● Double click on the downloaded WinRAR file and a window will appear
● You can close the Purchase license pop up
● Select the file and click on Extract To and select the path to save the dataset file
● File would be unzipped at the mentioned location.
If you are using a Mac then you can refer to the following link.Tutorial: How to unzip files
on Mac.
7.0 I have written SQL queries for Project and Practice Exercise into
MySQL workbench. I want to save these queries. How to save SQL
queries into a .sql file ?
Once you have written queries in MySQL workbench and you want to save them for later use,
you can refer to the following steps to save them.
Step 1 - Go to the SQL query tab where you have written the SQL queries
Step 2 - Go to File section from top Menu
Step 3 - Click on Save Script and save the file with appropriate name along with .sql
extension.
Step 4 - Once it’s saved, you can go to this file, click on it, open it into MySQL and get the
saved queries.
[email protected]
KP2WFEJ3RX
8.0 I have written SQL queries and got the output. I want to export the
result into a csv file. How to Export and Save the output query?
Once you have run and got the output from a SQL query, you can export the output using the
following steps-
Step 1 - Run the query with the expected output. Let's say that you have run the following
query and the output for the query has been displayed.
[email protected]
KP2WFEJ3RX
Step 3 - Once you click on the above highlighted icon, a window will appear for file name, file
type and file location. You can give the appropriate file name and save it at the desired location
with file extension.
You can click on the highlighted icon in the following image and Re-connect to the DBMS.
[email protected]
KP2WFEJ3RX
[email protected]
KP2WFEJ3RX
This will enable you to connect to your server automatically going forward.
[email protected]
KP2WFEJ3RX
An error in MySQL informs you that you actually did something wrong, describes the problem,
and stops the process or query.
[email protected]
KP2WFEJ3RX
A warning will not stop anything, but is there to tell you that something happened that is not
expected (or there may be a potential issue) and it's not critical enough to terminate.