header

CSS Reference

w3schools has a great CSS Reference which I find very useful.

Comments (0)

Mysql install on FreeBSD

I’ve had enough problems with this to know that I need to write down what I need to do to install mysql on FreeBSD. Here are the steps I took to do it successfully.

cd /usr/ports/databases/mysql41-server/
make install clean
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe –user=mysql &
/usr/local/bin/mysqladmin -u root password newpassword

Edit 8/17:
{edit /etc/rc.conf and add}
mysql_enable="YES"
Thanks lucas

That works.

Comments (60)

SQL Injection by Example

Unixwiz has a good article illustrating SQL injection attacks. Every programmer using results of forms in a SQL statement should be worried about this.

Comments (3)

Accident!

Well I was in an accident today on the I5 bridge over the Columbia river. A semi-truck hit a Saab which hit me (I was stopped in traffic) and I hit an Escort which hit a Chevy. Damage is minimal on my car, minor dings on the back, a slightly bent front license plate, and a misaligned trunk hood. Pat was driving with me and has some neck pain, but other than that nobody was injured. How’s that for a birthday present, Pat? :P

Comments (7)


blogtimes