• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Archives for October 2015

Ubiquiti Ubuntu Repository

October 25, 2015

I’m running Ubiquiti’s Unifi Cotroller on one of my websites. I did the sudo apt-get update to perform an update recently and found out that the Ubiquiti’s repository is broken. As it turns out, Ubiquiti has changed the location of their repository to the following location:

deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

You have to edit the /etc/apt/sources.list file to change the previous entry with the one above.

After the change, the update and upgrade went very well.

Filed Under: Linux Tagged With: access point, cloud controller, ubiquiti, unifi

Change MySQL Password

October 8, 2015

The following are instructions on how to change your MySQL password from the Unix command line.

Login to MySQL and access MySQL table.

mysql -u root -p
use mysql;

mysql -u root -p use mysql;

Change the password for any user, flush privileges and quit.

update user set password=PASSWORD('new_password') where User='root';
flush privileges;
quit

update user set password=PASSWORD('new_password') where User='root'; flush privileges; quit

Make sure to make password changes on your applications as well.

In WordPress, edit the wp-config.php file to change database password.

Filed Under: Linux, WP Tagged With: mysql, password, root

  • Home
  • About
  • Archives

Copyright © 2023