rblog

Carpe diem

That’s what friends are for…got a gift, got a gift – a carpe diem-candlestick. Could it be as a follow up of one of my previous gifts, the penis atlas?

I’m so confident in my own sexuality that I have no problems showing this to the world 🙂

Access denied for user ‘USERNAME’@’LOCALHOST’ (using password: YES)

I have struggled with an issue on our test server running our Jira test instance. Problem was that I could not get it to connect to the database. Jira 5.0 has a script, config.sh, in the bin-folder which pops up an application allowing you to apply settings and then verify them, one of the settings being the information needed to connect to the database. So, I created the database for Jira, added the user and granted the needed access. No problem connecting using command line

mysql -u USERNAME -p DATABASENAME


but when trying “Test connection” using the Jira configuration tool it reported

Access denied for user 'USERNAME'@'LOCALHOST' (using password: YES)


Could not figure out why, until I connected as root and issued the following SQL-statement

SELECT user, password,host F R O M  mysql.user;

Note: I have some restrictions for my blog, so you need to edit F R O M

It showed that the encrypted password was not similar for my user for the two hosts which was defined, localhost and 127.0.0.1. I had recently updated for localhost and by the above error I thought that was sufficient, but now I also issued

SET PASSWORD FOR 'USERNAME'@'127.0.0.1' EQUALSIGN OLD_PASSWORD('PASSWORD');
SET PASSWORD FOR 'USERNAME'@'127.0.0.1' EQUALSIGN OLD_PASSWORD('PASSWORD');

Note: I have some restrictions for my blog, so you need to edit EQUALSIGN

ensuring equal passwords for both hosts, and voila, problem solved.

Being Lars Monsen

Having studied the instruction movie made by Lars Monsen on how to make a fire I insisted on not using any help. My mother offered me firelighters, but I did not need any of it. Got a fire, but due to heavy wind the hot dogs was not hot, but only lukewarm.

Burn, burn, burn! Fetched some wood after I had got a small fire, needed a big fire to get the hot dogs hot, but, as mentioned…lukewarm was all I could offer..

“The old are the eldest”

The Norwegian proverb “The old are the eldest” suits the old Mercedes. It has not been started for almost ten years, but today we decided to move it from the new barn to the old one. So we towed it about 100 meters with the tractor, voila, running smoothly. Plenty of smoke, but it is a veteran, so that is quite normal. And hey, if you have been asleep for 10 years, your breath would have been quite bad.

Outside the old barn. Breaks no good, so was a bit nervous when driving in to the barn, but no problemo.

Hjem