1、软件包安装
[root@server1 mysql]# rpm -ivh MySQL-server-5.1.72-1.glibc23.i386.rpm
[root@server1 mysql]# rpm -ivh MySQL-client-5.1.72-1.glibc23.i386.rpm
挂载光盘,yum安装
[root@server1 mysql]# yum install mysql-conn* --nogpgcheck
Installed:
mysql-connector-odbc.i386 0:5.1.12-1.rhel5
Dependency Installed:
unixODBC.i386 0:2.2.11-7.1
2、创建用户,刷新权限
mysql> grant all privileges on *.* to 'user1'@'%' identified by 'redhat';
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
3、关闭防火墙
4、Windows机器上安装软件连接包
mysql-connector-c++-1.0.5-winx64.msi
5、系统查看连接情况
Control PanelAll Control Panel ItemsAdministrative ToolsData Sources (ODBC)