1.安装
参考http://www.cnblogs.com/wuhou/archive/2008/09/28/1301071.html
sudo apt-get install mysql-server
2.远程访问
参考:感谢同事涛哥,帮助解决了这个问题,从定位错误,到解决它
vi /etc/mysql/my.cnf
bind-address = 0.0.0.0
3.字符集设置
参考http://kinglixing.blog.51cto.com/3421535/661645
vi /etc/mysql/my.cnf
[mysqld]
character-set-server=utf8
[client]
default-character-set=utf8
4.忽略大小写
参考http://hi.baidu.com/achilles_zhaic/item/c5812620d7fe431f2a0f1c30
vi /etc/mysql/my.cnf
[mysqld]
lower_case_table_names=1