I’m really in a pissed off mood right now.
Every single time I finish a site design, about a week later I decide it looks amateurish and feel it doesn’t reflect what I can do. Why do I do this every single time? I have no clue. It has almost become habit. I don’t do it whenever I’m working on something for another person, as long as their happy I am, but when I create something for myself I become the most anal person about every little detail.
Do I think I’m a terrible at this? No, not at all. Do I think I’m awesome and a plate of pancakes? Nope. I seem to fall in that line where I don’t really excel at either graphic design or programming. I’m in the middle. Mediocre. So-so. Alright. Mrehh.
I hate designing for myself, but I’ll keep doing this and it’ll never stop. Why? Because, I love it and hate it at the same time. So get ready for re-design 4359 in the future and enjoy the plain pre-built theme until then.
Just a quick note before I go on :
I know a lot of what I’m posting so far can easily be found by doing a simple google search and would most likely be one of the first results that pop up, but I’m putting these things up on my site to kind of bookmark my progress in learning Rails, Ruby, and how to run a web server in general, etc and to also give some content to my website.
Anyways, back to the topic on hand.
So I’m sitting here setting up my rails environment and for some odd reason ‘rake db:create:all’ isn’t wanting to work; turns out I was using the wrong password to access my database. Ok, so it wasn’t so much I was using the wrong password since that would imply I knew what the correct password was. I completely forgot what I set it to …
*note there might be a different way of doing this for different versions of MySQL. As of this writing I’m using version 5.0.51a. You can check to see what version you’re running by typing
mysql –version
Create a file in your home directory called passwordinit and put the following in it :
UPDATE mysql.user SET Password=PASSWORD(’yournewpasswordhere’) WHERE user=’root’;
FLUSH PRIVILEGES;
Afterwards, be sure your mysql server isn’t running
sudo /etc/init.d/mysql stop
Now, as root, run the following
mysqld_safe –init-file=/location/of/your/passwordinitfile
This should fix any problems with forgetting your MySQL password