I tried to install Mysql workbench through terminal but gave me following error:
$ mysql-workbench
Found /lib/x86_64-linux-gnu/libproj.so.15
/usr/bin/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libwbprivate.so.8.0.23: undefined symbol: _ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE
Actually, I tried to install it using Ubuntu software center, but on clicking the local instance, it would give an error that it could not connect to database, therefore I tried to install it with terminal after uninstalling from the software center.
Then, again I tried to install it using Ubuntu software center, a permissions tab was there alongside the 'remove', after clicking it a toggle of ~'read and edit password' was turned off, I turned it on, it asked for user login password and then, MySQL workbench was able to open the local instance.
In Ubuntu 20.04, install MySQL Workbench using Ubuntu's Software center only, but make sure to give it permissions to read and edit password just after installation in software center itself only
Related
Image showing result of anaconda prompt
I have been trying to launch anaconda after due installation but windows cannot start up. I also tried using the anaconda prompt but it keeps telling me "Unable to create process as shown in the image above". Please I need a solution to be able to launch the software. I have tried so many possible solutions online. Install and uninstall the software several times but the issues keeps on coming.
I tried uninstalling the software and re-install. Also edit the environment variables by copying and pasting the anaconda directory and it's script.
My environment:
Ubuntu 20.04.3 LTS on Windows 10
-> https://www.microsoft.com/store/productId/9NBLGGH4MSV6
PhpStorm 2022.1 Build #PS-221.5080.224, built on April 13, 2022
My Problem:
I'm trying to export a PostgreSQL database inside the Database tab of PhpStorm.
To execute the export I right click the database in the list and click on the "Export with 'pg_dump'" option. This opens the Export window with all the options and command preview:
Inside of the window I get the error message "Path to executable is wrong" even tho the pg_dump file exists at the given path /usr/bin/pg_dump. This stops me from executing the export.
I have tried to manually install pg_dump in another directory and select it in the PhpStorm Export window, but it still won't detect the executable. The executable itself works fine.
The solution to this problem was to do a sudo apt-get install postgresql-client.
Apparently there is a general problem with the pg_dump executable of the "postgresql-client-common" package:
https://askubuntu.com/questions/501091/command-pg-dump-not-found
After installing the postgresql-client package, everything works fine in PhpStorm as well.
The code is pretty simple there: IDE checks that file exists and is executable, then run /path/to/pg_dump --version command and parse output looking for some keywords. Unfortunately there are no logs which can show exact reason, but I guess the issue that IDE can't get access to the file. Most likely due to WSL. The workaround is to install IDE and unpack PG binaries on Windows, then configure port forwarding to make PG server accessible from host OS.
I would like to install PostgreSQL on windows 7. Howver I faced one problem when I am going to launch pgAdmin 4. It shows that "Fatal Error. application server could not be contacted." I tried run as Administrator, deleted file pgAdmin in AppData. Deleted python and in my path. Added PostgreAQL in my path. However due to some reason it shows the above proble. I need your help. Thank you in advance
Here is the solution that worked for me on windows 10:
Delete the pgAdmin folder from AppData C:\Users\%USERNAME%\AppData\Roaming\pgAdmin (Note: AppData is a hidden folder),
Search for "Services" with windows search, scroll down to postgres and click on "stop",
Run pgAdmin as Administrator.
Unistall existing postgresql on your computer.This should uninstall the entire applications associated with postgresql including pgadmin4. Go to your start menu and type in "pgadmin4" to show if you still have associated file.If you see any,trace the location and delete it.
You can now re-install a fresh copy of POSTGRESQL from Enterprisedb which will automatically install pgadmin4 for you. The new installation will prompt you to enter new password. Use a password you can remember since you will always need it to access the database.
I uninstalled my python IDLE and then installed the latest python IDLE. When installed it will give you an option if you should allow all programs including python to have full access to the AppData PATH choose yes and the fatal error will disappear
I am in the process of setting up a Linux Based AMPPS LAMP box for local web development needs before the projects go live. I have been following this installation guide for AMPPS website, on a fresh install of CentOS: https://www.ampps.com/wiki/Installing_AMPPS_on_Linux#Important_Locations
The following is stated in the instructions:
First Run of AMPPS When you run AMPPS for the first time make sure your Internet connection is active. Note: AMPPS doesn't support proxy
yet. So you must have a Direct Internet Connection.
Now open /usr/local/ampps/Ampps from Explorer, this will take some
time as it is setting up AMPPS for your Linux. If you are using Ubuntu
OS then you have to start Ampps from terminal with sudo privilege.
cd /usr/local/ampps
sudo ./Ampps
Upon entering ./Ampps in as root, the terminal returns the following:
./Ampps: error while loading shared libraries: libXrender.so.1: cannot open shared object file: no such file or directory
I have done a little of a search and turned up basic fixes, such as:
yum install libXrender.so.1
Even with the libraries installed it throwing the same error.
Any help would be great,
Sorry if my post lacks anything its my first :)
Thanks in advance,
Jon
This seemed to do the trick guys, Thanks anyways :D
$ yum groupinstall "X Window System" "Desktop" "Desktop Platform" "Fonts"
Yesterday I installed Teamviewer 7 on my Centos 5.8 desktop. After a reboot, am not able to see the login screen. Only a blue color screen is visible.
I read https://superuser.com/questions/403548/os-x-stuck-at-blue-screen-after-installing-teamviewer-host-and-rebooting?rq=1
But how do I do that on Centos?
I know that to login to Single User Mode, we need to press a key while the os boots up. And then type single in the cmd. And then?
Once in Single User Mode, you can try to remove TeamViewer from your system.
For example, if you have installed TeamViewer by running the rpm -ivh teamviewer_linux.rpm command, you can run the rpm -e teamviewer_linux command to uninstall it.
I don't think that the Mac OS link you've referred to can be very useful in your case.
If you peek into the teamviewer_linux.rpm (for example by running the command rpm -qpl teamviewer_linux.rpm) you won't find any "Launch Agents and Daemons", since on CentOS TeamViewer is wrapped around a Windows Emulator (wine).
By default the TeamViewer files gets installed in the /opt/teamviewer folder; the only exception is the startup script /usr/bin/teamviewer7.
Finally, the rpm post-installation script does nothing more and nothing less than create a desktop icon and add a menu entry, so I can't really understand how the TeamViewer installation could have broken your system.