My Sql workbench is not launching on RHEL7 on GCP VM instance

Posted on

Hi, I have installed mysql server on rhel7 google cloud virtual machine instance and want configure/access it from my mysql workbench installed on same VM instance, But not able to launch mysql work bench.
What problem/issue/behavior are you having trouble with? What do you expect to see?

1) Steps I have tried to configure your MySQL workbench
I have installed mysql server from yum repository on RHEL7 vm instance from below link
https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/
Now I am able to access mysql server from putty via ssh on my loacal(window).
I have installed MySql workbench on my local machine(windows) and on vm instance from below link
https://dev.mysql.com/doc/workbench/en/wb-installing-linux.html
Installation has been done successfully but while launching the mysql workbench on vm instance with below command as stated, it is giving error.
shell> /usr/bin/mysql-workbench
[root@rhel-7-1 inc_cynicaltechnologies]# /usr/bin/mysql-workbench
Found /lib64/libproj.so.0
(mysql-workbench-bin:22151): Gtk-WARNING **: cannot open display:
I have also installed RHEL7 Server with GUI gnome desktop from this link. to remove Gtk-WARNING **: cannot open display
https://linuxconfig.org/install-gnome-gui-on-rhel-7-linux-server
2) errors during configuration?
[root@rhel-7-1 inc_cynicaltechnologies]# /usr/bin/mysql-workbench --help
Found /lib64/libproj.so.0
(mysql-workbench-bin:22151): Gtk-WARNING **: cannot open display:

Where are you experiencing the behavior? What environment?

Google Cloud Virtual Machine RHEL7 instance

When does the behavior occur? Frequently? Repeatedly? At certain times?

Frequently

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.