http://downloads.skysql.com/archive/index/p/mysql/v/5.1.521、安装VM虚拟机2、安装SUSE9 linux版本3、安装jdk环境4、安装tomcat应用服务器5、安装 linux mysql{RPM 安装 1、rpm -ivh MySQL* (对应mysql rpm包)2、修改 etc目录下my.cnf文件vi my.cnf 的sock指向 /var/lib/mysql/mysql.socket重新初始化数据库mysql_install_db --user=mysql --ldata=/new-data-locationmysqld_safe --datadir=/new-data-location --user=mysql & 启动数据库 mysqld_safe start登录数据库 并修改初始密码:mysql -u root password newpassword赋远程登录权限grant all on *.* to root@192.168.55.133grant all privileges on *.* to root @"%" identified by "hello";flush privileges;借助GUI操作mysql数据库}