473,386 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Importin a MySQL database into MS Access

Hi,
I would like to import the tables from MySQL database into Access
database and I am not sure how to go about it. I tired to "Import
External Data" from Access, selected "ODBC database" from file type
dropdown, selected "New data source" and picked SQL Server from the
list. I specified the server name (mydomain.com) along with user id
and password. But when I clicked on "Next", I got: "connection failed:
SQL Server Error:10060, [tcp/ip socket]ConnectionOpen(Connect())"
followed by: "Connection failed: SQL Server error: 17 [tcp/ip
socket]SQL server does not exist or access denied."
I exported the MySQL tables into a file, (using PHPMyAdmin, as well as
mysqldump) using SQL format, and created a blank database in Access
but don't know how to import the tables into Access.
I am kind of green, so please be gentle! If you can outline what I
need to do, I would really appreciate it.
Nov 13 '05 #1
3 4894
In message <b3**************************@posting.google.com >, Xerxes
<as*******@hotmail.com> writes
Hi,
I would like to import the tables from MySQL database into Access
database and I am not sure how to go about it. I tired to "Import
External Data" from Access, selected "ODBC database" from file type
dropdown, selected "New data source" and picked SQL Server from the
list.


That's the problem, you should have picked MySQL from that list. If you
see it on the list then you need to install the MySQL ODBC software on
your machine.


--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.

Nov 13 '05 #2
as*******@hotmail.com (Xerxes) wrote in message news:<b3**************************@posting.google. com>...
Hi,
I would like to import the tables from MySQL database into Access
database and I am not sure how to go about it. I tired to "Import
External Data" from Access, selected "ODBC database" from file type
dropdown, selected "New data source" and picked SQL Server from the
list. I specified the server name (mydomain.com) along with user id
and password. But when I clicked on "Next", I got: "connection failed:
SQL Server Error:10060, [tcp/ip socket]ConnectionOpen(Connect())"
followed by: "Connection failed: SQL Server error: 17 [tcp/ip
socket]SQL server does not exist or access denied."
I exported the MySQL tables into a file, (using PHPMyAdmin, as well as
mysqldump) using SQL format, and created a blank database in Access
but don't know how to import the tables into Access.
I am kind of green, so please be gentle! If you can outline what I
need to do, I would really appreciate it.


try:
http://dev.mysql.com/doc/connector/o....html#MSAccess
Nov 13 '05 #3
tw*@gate.net (Tom Warren) wrote in message news:<f4**************************@posting.google. com>...
as*******@hotmail.com (Xerxes) wrote in message news:<b3**************************@posting.google. com>...
Hi,
I would like to import the tables from MySQL database into Access
database and I am not sure how to go about it. I tired to "Import
External Data" from Access, selected "ODBC database" from file type
dropdown, selected "New data source" and picked SQL Server from the
list. I specified the server name (mydomain.com) along with user id
and password. But when I clicked on "Next", I got: "connection failed:
SQL Server Error:10060, [tcp/ip socket]ConnectionOpen(Connect())"
followed by: "Connection failed: SQL Server error: 17 [tcp/ip
socket]SQL server does not exist or access denied."
I exported the MySQL tables into a file, (using PHPMyAdmin, as well as
mysqldump) using SQL format, and created a blank database in Access
but don't know how to import the tables into Access.
I am kind of green, so please be gentle! If you can outline what I
need to do, I would really appreciate it.


try:
http://dev.mysql.com/doc/connector/o....html#MSAccess


Thanks Tom.
I followed the instuctions on the page, created DSN, and tried to
import the tables from MySQL into Access, but I get the following
error:
"You cannot use ODBC to import from, export to, or link an external
Microsoft Jet or ISAM table to your database."
The actual database is on our ISP's server, so I used PHPMyAdmin
console to export the tables to a file (db.sql) and saved it on my
desktop. I used the db.sql file to create the database on my PC
(running WinMySQL).
(If I try to connect to create DSN using remote database, on the ISP
server, it says:"[MYSQL][ODBC 3.51 Driver] Host xxx.xxx.xxx.xxx is not
allowed to connect to this MySQL server.")

When I looked at the db.sql file, at the end of each table creation
code, it says type is MyISAM:
CREATE TABLE `TableName` (
.....
....
) TYPE=MyISAM AUTO_INCREMENT=4 ;

Thanks.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a simple PHP/MySql application on shared hosting, so no...
51
by: w_curtis | last post by:
I'm an Access user, and I'm trying to learn MySQL and then PHP so I can make some web databases. But it just isn't clicking. I've followed some tutorials, and picked up a book, but just getting...
4
by: Adam Smith | last post by:
I have a dedicated server running 'FreeBSD 4.9 STABLE' at a hosting site. They have done some default installations, presumably from the CVS ports package ??. Herein lies the problem, "I do not...
17
by: chicha | last post by:
Hey people, I have to convert MS Access 2000 database into mysql database, the whole thing being part of this project I'm doing for one of my faculty classes. My professor somehow presumed I...
11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
2
by: Beda Christoph Hammerschmidt | last post by:
MySQL, Access, ODBC, Replication Hello, i have a central mysql database that is accesed by multiple clients running MS Access with ODBC. This works fine if Access has a permanent connection...
2
by: roychong | last post by:
Hi everyone, I'm keen to use Access as a client application to access data from a MySQL database. The reasons are Access for its strength in reports creation and MySQL for its stability and...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
12
by: mistral | last post by:
phpMyAdmin 2.6.2 problem: can no connects to mySQL database: each time shown error #1045 - Access denied for user 'username'@'192.168.1.2' (using password: YES) Is seems, this is most common...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.