Install MySQL Workbench On Linux
Install MySQL Workbench On Linux
Login with the user you want to run the VNC program with. In my case its root.
# vncpasswd
Now, add a VNC service configuration file for your user via a daemon
configuration file placed in systemd directory tree
[root@centos01 ~]# ls -l /lib/systemd/system/vnc*
-rw-r--r--. 1 root root 1707 Apr 5 09:49
/lib/systemd/system/vncserver@.service
cp /lib/systemd/system/vncserver@.service
/etc/systemd/system/vncserver@:1.service
vi /etc/systemd/system/vncserver@:1.service
Alternatively:
[root@centos01 ~]# useradd vnc
[root@centos01 ~]# passwd vnc
Login as vnc user
$ vncpasswd
yum install xclock -y
# systemctl daemon-reload
# systemctl start vncserver@:1
# systemctl status vncserver@:1
# systemctl enable vncserver@:1
https://www.realvnc.com/en/connect/download/viewer/
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY
'Molafako27##';
Query OK, 0 rows affected (0.04 sec)
On Linux:
# yum install xclock -y
export DISPLAY=192.168.56.1:0.0
xclock
Search for xming launch and step through
Open putty, connect to server and set X11 settings
Replace localhost with the IP of Windows machine.
# mysql-workbench &
use mysql;
show databases;
select user, host, authentication_string from user;
desc user;
- Where is your data directory?
- Where is your Error Log?
- How many schemas do you see?
- Run show databases;
- Go to your data directory and see how are the schemas stored on
the disk
cd /opt
wget https://downloads.mysql.com/docs/world-db.zip
unzip world-db.zip
mysql -u root -p < world.sql
cd /opt
wget https://downloads.mysql.com/docs/sakila-db.zip
unzip sakila-db.zip
ls -l
sakila-schema.sql
sakila-data.sql
Examine:
sakila-schema.sql
sakila-data.sql