You are on page 1of 3

My sql installation

In terminal
1.Step1:
sudo apt update
2.Step2:
sudo apt install mysql-server
When the system asks you to continue the installation, answer Y and hit the ENTER
button.

My sql workbench installation

1. sudo apt update


2. sudo apt install mysql-workbench-community

or

sudo snap install mysql-workbench-community

3.opening mysql then type command

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY


'password';

Then open workbench and that not connecting with mysql try the following
command in terminal

sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service

PL/SQL
Sql plus-After installing sql plus while trying to connect and that command not working do
the following steps
in sql terminal
1. connect / as sysdba

When I try to connect with oracle : It is showing as 'Connected to an idle instance'


2.then type command
startup

3.connect / as sysdba
then it shows
SQL> connect / as sysdba
Connected.
4.To show system users

select username,password from dba_users;

5.To change system user password


alter user SYSTEM identified by password;

6.Then trying to connect.it shows as follows

SQL> connect

Enter user-name: SYSTEM

Enter password:

Connected.

You might also like