FAQ - Week-1 Introduction To Databases and Fundamentals of SQL
FAQ - Week-1 Introduction To Databases and Fundamentals of SQL
Guideline:
Always keep the password in mind. Always establish a simple password when installing MYSQL
(e.g., root). Alternatively, attempt to remember the password by writing it down in a safe place.
2. I’m getting an error while updating or deleting the rows in a table. How can I
troubleshoot this?
If you're having trouble updating or deleting rows in a table, try the code below-
SET SQL_SAFE_UPDATES = 0;
For reference please refer to the screenshot provided -
[email protected]
39GCUAX2OS
SET FOREIGN_KEY_CHECKS=0;
After you are done updating the required fields, you can turn it on by executing the following:
SET FOREIGN_KEY_CHECKS=1;
By running the above code you can update the desired columns.
If you are unable to install MySQL, always check your system to see if MySQL is already installed
or not. If it is already installed and if it is facing an issue, please uninstall the complete MSQL. Go
to the control panel and uninstall all the components of MySQL. For installation, please refer to
the document MySQL Installation-Windows.pdf provided on Olympus. For installation
purposes, please follow the steps provided in the document.
For uninstalling, please refer to the screenshot provided for uninstallation.
[email protected]
39GCUAX2OS
As per the above screenshot, go to the control panel and you need to uninstall all the
components of MYSQL shown above.
To access the MYSQL workbench a connection needs to be established. Please refer to the
screenshot provided to establish the connection-
[email protected]
39GCUAX2OS