@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
1. 下载mysql的 tar包 http://www.mysql.com/downloads/mysql/5.5.html@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
2. 解压,然后复制到/usr/local 目录下
3. 修改 /usr/local/mysql的所有者为mysql: chown -R mysql:mysql mysql (反正是这一步给做了,不知道是不是必须的)
4. 安装mysql ? : sudo /usr/local/mysql/scripts/mysql_install_db
5. 至此,可以运行mysql服务器端了: sudo /usr/local/mysql/bin/mysqld_safe & (&在Unix系统里并不会在后台运行,尤其是使用像tomcat时非常有用,可以看得到输出的信息)
6. 运行mysql客户端: /usr/local/mysql/bin/mysql -u root -p