I have a mysql server for reviewsby.us that requires tunneling, and after establishing a tunnel like so:
deveshistan:~ dash* ssh user@host -L3307:database_server:3306
I thought I could just do this:
mysql -u mysql_user -P3307 -h localhost
But I was wrong, localhost should be 127.0.0.1, otherwise mysql will do things in socket mode:
mysql -u mysql_user -P3307 -h 127.0.0.1
Filed under programming. |
Tags: localhost && mysql
I’ve done some rewrites of code, and they usually are coupled with redesigns.
Redesigns and rewrites are tricky. With web sites existing users tend to prefer incremental changes with each. Changing a design element or a feature are pretty much equivalent when its done incrementally.
Usually small changes are like surgery. You make a [...]
Filed under programming. |
Tags: del.icio.us && django && symfony