6/19/2012

Yii: Awesome PHP Framework


This framework looks fantastic.
look at the chart, it supports everything.




By the way, when try to install mysql on linux, mysql will firstly search the option file in /etc/my.cnf, then ~/.my.cnf which is under your $HOME directory. Remember to configure the file to get server connected. If you get any error message like socket error, cannot connect to server, and you have not specify the hostname, username or password, probably your option file is not setup properly.


http://dev.mysql.com/doc/refman/5.5/en/option-files.html#option_general_defaults-extra-file

Strangely, I have to connect mysql with
[wshi@nycdlvapoc002 mysql-5.5.25]$ mysql -u username -p
instead of user=root. And if you like to use root by default just create an user.

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

No comments:

Post a Comment