Wednesday, July 11, 2012

Problem to install mysqlworkbech

 I found some problems trying to install mysqlworkbech which is a GUI tool to manage Mysql databases. The dependence libmysqlclient16(>= 5.1.21-1) was requiered.

1) Install the package libmysqlclient16. Look at 
http://packages.ubuntu.com/oneiric/libmysqlclient16
2) Install the package libzip1, http://packages.ubuntu.com/oneiric/libzip1
3) Install other dependencies


sudo apt-get install python-paramiko python-pysqlite2 libctemplate0 libgtkmm-2.4-1c2a

4) Install workbench.
If you have not yet download can you use the next link  http://dev.mysql.com/downloads/workbench/ Please, check if your architecture is 32 bit or 64 bit before you install it.

Enjoy querying :)!!

Unable to log to session: unity problem

I was surprised after I've updated my Ubuntu 12.04 finding with the following error
"Failed to load session "ubuntu-2d" when trying to log into my laptop. I checked the log in .xsession-errors and there was a warning: xsession-errors unable to find default provider metacity
Let me tell you how I solve it.First I run the following:

sudo apt-get clean

sudo apt-get install --reinstall metacity

sudo shutdown -r now


After rebooting my desktop look a little tricky without unity. So I did
unity --reset

but result in No command found :S, so I installed with
sudo apt-get install unity
and then reboot my laptop for trying again. It worked! :)

My lesson was: if you're in trouble with a process first try to reinit it, if anything else works then try to reinstall it.

Did you have problem trying to boot with Unity? Would you like to share it?