Monday, 5 March 2012

[SLOVED] reset MySQL Password

Sometime you face a problem look like:
ERROR 1045: Access denied for user: 'root@localhost' (Using 
password: NO)
ERROR 1045: Access denied for user: 'root@localhost' (Using 
password: YES) 
 Hence, you should reset your mysqld password just follow these instructions :
stop mysql demon: sudo /etc/init.d/mysql stop
Start the mysqld demon process:
sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
After that, type these commands:
mysql -u root
UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';
Anyway, stop mysqld and relaunch mysql by;
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start

[SOLVED] Ibus doesn't work on Skype

I found the method to fix the problem: "unable Ibus working on Skype" as following as:
  1. Make sure installed ibus-qt4, if not try: sudo apt-get install ibus-qt4
  2. Editing /etc/X11/xinit/xinput.d/default, by copying arguments respectively from file /etc/X11/xinit/xinput.d/ibus and then reboot to enjoy it
I guarantee that it's working properly.