Mysql Plesk & user admin: message to self

Pffff.. if you change the password for the user admin and store it, plesk cannot connect to the database anymore.
The issue is that the password needed must be the ‘encrypted’ password, rather than the plain text .. Ugh ..

enable the my.cnf and enable skip_grant_tables=1, than stop mysql, and restart when the skip_grant_tables=1 is enabled. Login with mysql -u
than use the following command:
update mysql.user set password=password(‘password taken from the .psa.shadow file’) where user=’admin’;
this must be the encrypted!! password. You can find the encrypted password from the file: cat /etc/psa/.psa.shadow this is the encrypted password and this one is needed to login as admin to mysql from the shell.
you need to disable the skip_grant_tables=1 again and stop / start the mysql server again.
to login from shell: mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa

Spitsvrij.nl

Hoi Hoi .. ik ben geselecteerd om mee te doen aan de spitsvrij actie die men (Ministerie van Infrastructuur en Mileu en waarbij de provincie utrecht de opdrachtgever is) in de regio A1,A27,A28,A12 aan het doen is. Ik kan geld verdienen door niet in de spits te gaan rijden. (Dat gaat nooit lukken, vooral ook omdat ik gewoonweg teveel kilometers moet rijden om de spits

Sub and Tweet

Ik gebruik al een tijdje een script die gebruik maakt van de API van Bierdopje om ondertitels van TV series automatisch te kunnen downloaden.
het script is geweldig maar mist een functionaliteit om jou te vertellen dat er een nieuwe ondertitel (of ondertitels) gedownloaded is.
Met behulp van Hens Zimmerman is er een script gemaakt die de gedownloade ondertitel naar een usenet account twittert.

Download het bestand hier.