<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>viaVerio :: MySQL ODBC Drivers</title>
	<copyright>Copyright (c) 2007 Verio Inc. All rights reserved.</copyright>
    <link>http://www.viaverio.com/index.cfm?page_id=250</link>
    <description>MySQL ODBC Drivers</description>
    <language>en-us</language>
    <lastBuildDate>Tue, 06 Nov 2007 15:47:04 GMT</lastBuildDate>
	<managingEditor>sales@verio.net</managingEditor>
	<webMaster>sales@verio.net</webMaster>
	<ttl>5</ttl>	
    <image>
      <title>viaVerio :: MySQL ODBC Drivers</title>
	  <width>149</width>
	  <height>70</height>
	  <link>http://www.viaverio.com</link>
      <url>http://www.viaverio.com/images2/nav/viaverio_logo.gif</url>
    </image>
	<item>
	  <title>MySQL ODBC Drivers</title>
	  <link>http://www.viaverio.com/rss/page_250.rss</link>
	  <guid isPermaLink="true">http://www.viaverio.com/rss/page_250.rss</guid>
	  <pubDate>Wed, 13 Oct 2004 12:00:00 GMT</pubDate>
	  <description>
	    <![CDATA[ &lt;h1&gt;MySQL ODBC Drivers&lt;/h1&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;&lt;a href=&quot;/index.cfm?page_id=217&quot;&gt;MySQL&lt;/a&gt; ODBC drivers allow you to connect to MySQL running on your Virtual Private&lt;br&gt;	Server from your PC and import/export databases.&lt;/p&gt;&lt;br&gt;	&lt;br&gt;&lt;h2&gt;Installation&lt;/h2&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;The following must be done on your own PC.&lt;/p&gt;&lt;br&gt;	&lt;br&gt;	&lt;ol type=&quot;1&quot;&gt;&lt;br&gt;&lt;p&gt;&lt;li&gt;If you are using MS Access 2000, it may be necessary to patch your MS Jet 4.0 database engine before continuing. &lt;br&gt;			See the following, for more information.&lt;/p&gt;&lt;br&gt;			&lt;br&gt;&lt;ul&gt;&lt;br&gt;&lt;li&gt;&lt;a href=&quot;http://support.microsoft.com/support/kb/articles/Q250/6/37.ASP&quot;&gt;MS Product Support Services: &lt;br&gt;					Jet 4.0 Bug Explanation&lt;/a&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;&lt;a href=&quot;http://support.microsoft.com/support/kb/articles/Q239/1/14.ASP&quot;&gt;MS Product Support Services: &lt;br&gt;					Jet 4.0 Service Pack 5&lt;/a&gt; &lt;/li&gt;&lt;br&gt;		&lt;/ul&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;Install the necessary MySQL ODBC driver on your PC. Download the appropriate driver from the MySQL Web site &lt;br&gt;			(make sure to get the version that matches the O/S of your PC.&lt;/p&gt;&lt;br&gt;			&lt;br&gt;&lt;blockquote&gt;&lt;br&gt;				&lt;a href=&quot;http://www.mysql.com/products/myodbc/&quot;&gt;http://www.mysql.com/products/myodbc/&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;Configure the MySQL driver for use.&lt;/p&gt;&lt;br&gt;			&lt;br&gt;&lt;ul&gt;&lt;br&gt;&lt;li&gt;&lt;h3&gt;Windows 2000&lt;/h3&gt;&lt;br&gt;					&lt;br&gt;				&lt;br&gt;&lt;p&gt;From the &lt;i&gt;Start&lt;/i&gt; menu, select &lt;i&gt;Settings&lt;/i&gt; then &lt;i&gt;Control Panel&lt;/i&gt;. Double click &lt;br&gt;					&lt;i&gt;Administrative Tools&lt;/i&gt; and then double click &lt;i&gt;Data Sources (ODBC)&lt;/i&gt;.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;&lt;h3&gt;Windows 95/98/NT&lt;/h3&gt;&lt;br&gt;					&lt;br&gt;				&lt;br&gt;&lt;p&gt;From the &lt;i&gt;Start&lt;/i&gt; menu, select &lt;i&gt;Settings&lt;/i&gt; then &lt;i&gt;Control Panel&lt;/i&gt;.  Double-click the &lt;br&gt;					&lt;i&gt;ODBC Sources&lt;/i&gt; icon.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;/ul&gt;&lt;br&gt;			&lt;br&gt;		&lt;br&gt;&lt;p&gt;You will then need to select whether you want to configure the ODBC driver for use by a single user or for use &lt;br&gt;			by every user on the computer. The first tab, &quot;User DSN&quot; is for only a specific user and can only be used on your&lt;br&gt;			specific computer. The second tab, &quot;System DSN&quot; is used to configure the ODBC driver for all users on your computer.&lt;br&gt;			Depending on which you choose to use, you will then click the add button on the right side. By clicking the add &lt;br&gt;			button you will be given a choice of drivers you can set up for a data source. You should find MySQL in the list.&lt;br&gt;			Select MySQL and click finish.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;The TDX mysql driver default configuration screen will then appear. You will want to fill out the fields &lt;br&gt;			with the appropriate information.&lt;/p&gt;&lt;br&gt;			&lt;br&gt;			&lt;ol type=&quot;a&quot;&gt;&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;Windows DNS Name&lt;/b&gt; - Type a name for this particular driver that you will be using for MySQL. The &lt;br&gt;					name is something of your choosing. (example: everyoneMySQL)&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;Server&lt;/b&gt; - This is the name of the Virtual Private Server you will be publishing your database to. &lt;br&gt;					(example: myserver.net)&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;MySQL Database Name&lt;/b&gt; - This needs to be the name of the MySQL database you will be connecting to.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;User&lt;/b&gt; - This needs to be the username for the MySQL database you will be connecting to.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;Password&lt;/b&gt; - This is the password for the MySQL user in the field above.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;				&lt;br&gt;&lt;li&gt;	&lt;br&gt;&lt;p&gt;&lt;b&gt;Port&lt;/b&gt; (if not 3306) - If you are behind a Firewall you will need to open up port 3306 or another &lt;br&gt;					port you specify or it will not work correctly.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;			&lt;/ol&gt; &lt;/li&gt;&lt;br&gt;	&lt;/ol&gt;&lt;br&gt;	&lt;br&gt;&lt;h2&gt;Exporting an MS Access Database to MySQL&lt;/h2&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;Using these Windows MySQL ODBC drivers you can export &lt;br&gt;	&lt;a href=&quot;http://www.microsoft.com/office/access/&quot;&gt;Microsoft Access&lt;/a&gt; databases from your PC directly to your MySQL &lt;br&gt;	database on your server.&lt;/p&gt;&lt;br&gt;	&lt;br&gt;	&lt;ol type=&quot;1&quot;&gt;&lt;br&gt;&lt;p&gt;&lt;li&gt;&lt;a href=&quot;/index.cfm?page_id=437&quot;&gt;Install MySQL&lt;/a&gt;&lt;/b&gt; on your server. Be aware that you will need to &lt;br&gt;			consult the MySQL documentation for information on using MySQL.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;Add a user with password privileges to your MySQL database. See the following section of the &lt;br&gt;			&lt;a href=&quot;http://www.mysql.com/documentation/mysql/bychapter/&quot;&gt;MySQL Reference Manual&lt;/a&gt;:&lt;/p&gt;&lt;br&gt;			&lt;br&gt;&lt;ul&gt;&lt;br&gt;&lt;li&gt;&lt;a href=&quot;http://www.mysql.com/documentation/mysql/bychapter/manual_toc.html#User_Account_Management&quot;&gt;User &lt;br&gt;					Account Management&lt;/a&gt; &lt;/li&gt;&lt;br&gt;		&lt;/ul&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;Open up MS Access and create or select the database you want to move to your server in the Tables section. Once &lt;br&gt;			you have selected the appropriate table, select &lt;i&gt;Export...&lt;/i&gt; under the &lt;i&gt;File&lt;/i&gt; menu.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;The &lt;i&gt;Save Table&lt;/i&gt; screen will appear. You will want to change the &lt;i&gt;Save as type&lt;/i&gt; to &lt;i&gt;ODBC Databases&lt;/i&gt;&lt;br&gt;			and click &lt;b&gt;Export&lt;/b&gt;.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;The &lt;i&gt;Export&lt;/i&gt; screen should appear. The &lt;i&gt;Export Addresses to:&lt;/i&gt; field should be the name you want to &lt;br&gt;			call this specific table on the server.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;You should now see the &lt;i&gt;Select Data Source&lt;/i&gt; screen. Select the &lt;i&gt;Machine Data Source&lt;/i&gt; tab and then &lt;br&gt;			select the DSN you configured in step 4.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;The table should then be moved to the Virtual Private Server under the user you specified for MySQL. To verify &lt;br&gt;			this, connect to your Virtual Private Server via &lt;a href=&quot;/index.cfm?page_id=426&quot;&gt;Telnet or SSH&lt;/a&gt; and&lt;br&gt;			find the table. An example of this would be the command:&lt;/p&gt;&lt;br&gt;			&lt;br&gt;&lt;blockquote&gt;&lt;br&gt;				&lt;pre&gt;% mysql -u &lt;i&gt;myusername&lt;/i&gt; &lt;i&gt;new_database_name&lt;/i&gt;&lt;/pre&gt;&lt;br&gt;&lt;/blockquote&gt; &lt;/li&gt;&lt;br&gt;	&lt;/ol&gt;&lt;br&gt;	&lt;br&gt;&lt;h2&gt;Importing a MySQL Database to MS Access&lt;/h2&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;It is also possible to import MySQL databases from your Virtual Private Server to a MS Access database on your PC.&lt;/p&gt;&lt;br&gt;	&lt;br&gt;	&lt;ol type=&quot;1&quot;&gt;&lt;br&gt;&lt;p&gt;&lt;li&gt;In your current database, go to the &lt;i&gt;Tables&lt;/i&gt; tab and right-click on the mouse button. This will provide you &lt;br&gt;			an option for &lt;i&gt;Import&lt;/i&gt;. In the Import screen select &lt;i&gt;ODBC Databases&lt;/i&gt; in the &lt;i&gt;Files of type&lt;/i&gt; field.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;This will bring up the &lt;i&gt;Select Data Source&lt;/i&gt; screen. Select the &lt;i&gt;Machine Data Source&lt;/i&gt; tab and choose the&lt;br&gt;			appropriate &lt;/i&gt;Data Source Name&lt;/i&gt; that you setup previously.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;		&lt;br&gt;&lt;p&gt;&lt;li&gt;The &lt;i&gt;Import Objects&lt;/i&gt; screen will appear and you will be given a choice of available tables on the Virtual&lt;br&gt;			Private Server that you can choose from. Select the table you want and click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt; &lt;/li&gt;&lt;br&gt;	&lt;/ol&gt;]]>
	  </description>
	  <author>Content V1</author>
	</item>
  </channel>
</rss> 
