MySQL有很多的connector:
其中的
J,C++,C主要用于使用java,c++,c等语言开发连接MySQL应用时使用。
ODBC:主要用于各种平台Windows,Linuxe等上的通用程序连接数据库时使用,比如PowerDesigner连接数据库时使用。
====================================================
安装:
http://jingyan.baidu.com/article/f79b7cb3a25e759144023ee7.html
http://www.server110.com/mysql/201404/8728.html
问题:安装异常
5: Action 15:47:06: INSTALL.
5: 1: MySQL Connector/ODBC 5.2 2: {6F4E90AC-3B32-4631-A9E5-5CC0186CA97B}
5: Action 15:47:06: FindRelatedProducts. Searching for related applications
5: Action 15:47:06: AppSearch. Searching for installed applications
5: Action 15:47:06: ValidateProductID.
5: Action 15:47:06: CostInitialize. Computing space requirements
5: Action 15:47:06: FileCost. Computing space requirements
5: Action 15:47:06: CostFinalize. Computing space requirements
5: Action 15:47:06: InstallValidate. Validating install
5: Action 15:47:06: SetARPINSTALLLOCATION.
5: Action 15:47:06: SetARPREADME.
5: Action 15:47:06: InstallInitialize.
5: Action 15:47:06: RemoveExistingProducts. Removing applications
5: Action 15:47:06: ProcessComponents. Updating component registration
5: Action 15:47:06: GenerateScript. Generating script operations for action:
5: Updating component registration
5: Action 15:47:06: UnpublishFeatures. Unpublishing product features
5: Action 15:47:06: RemoveODBC. Removing ODBC components
5: Action 15:47:06: RemoveRegistryValues. Removing system registry values
5: Action 15:47:06: RemoveFiles. Removing files
5: Action 15:47:06: InstallFiles. Copying new files
5: File: Copying new files, Directory: , Size:
5: Action 15:47:06: WriteRegistryValues. Writing system registry values
5: Key: Writing system registry values, Name: , Value:
5: Action 15:47:06: InstallODBC. Installing ODBC components
5: Action 15:47:06: RegisterUser. Registering user
5: Action 15:47:06: RegisterProduct. Registering product
5: Registering product
5: Action 15:47:06: PublishFeatures. Publishing product features
5: Feature: Publishing product features
5: Action 15:47:06: PublishProduct. Publishing product information
5: Action 15:47:06: InstallFinalize.
5: Action 15:47:06: ProcessComponents. Updating component registration
5: Action 15:47:06: RemoveODBC. Removing ODBC components
5: Action 15:47:06: InstallFiles. Copying new files
5: File: myodbc-installer.exe, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 3788800
5: File: Licenses_for_Third-Party_Components.txt, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 103161
5: File: COPYING.txt, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 18122
5: File: myodbc5a.dll, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 4841472
5: File: myodbc5S.dll, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 3907584
5: File: myodbc5S.lib, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 1916
5: File: myodbc5w.dll, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 4838400
5: File: myodbc5a.lib, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 16276
5: File: myodbc5w.lib, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 16456
5: File: README.txt, Directory: C:\Program Files\MySQL\Connector ODBC 5.2.6\, Size: 5601
5: Action 15:47:06: WriteRegistryValues. Writing system registry values
5: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 5.2, Name: Version, Value: 5.2.6
5: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 5.2, Name: , Value:
5: Action 15:47:06: InstallODBC. Installing ODBC components
5: Error 1918.Error installing ODBC driver MySQL ODBC 5.2 ANSI Driver, ODBC error 13: 无法加载 MySQL ODBC 5.2 ANSI Driver ODBC 驱动程序的安装例程,因为存在系统错误代码 126: 找不到指定的模块。 (C:\Program Files\MySQL\Connector ODBC 5.2.6\myodbc5S.dll)。. Verify that the file MySQL ODBC 5.2 ANSI Driver exists and that you can access it.
5: Action 15:47:06: Rollback. Rolling back action:
5: Installing ODBC components
5: Writing system registry values
5: Copying new files
5: Removing ODBC components
5: Updating component registration
5: 1: MySQL Connector/ODBC 5.2 2: {6F4E90AC-3B32-4631-A9E5-5CC0186CA97B} 3: 3
5:
5: Final actions.
5: Install error
解决方法: