Connecting Tech Pros Worldwide Help | Site Map

Access

  #1  
Old July 17th, 2005, 01:52 PM
Ken
Guest
 
Posts: n/a
How do I to move our data stored on an external server (over the Internet)
in a mySql database to
MS Access on our office computer. I would like to remove the data from the
Net and store it on our computer for security reasons.

Thanks.

Ken





  #2  
Old July 17th, 2005, 01:52 PM
Alvaro G Vicario
Guest
 
Posts: n/a

re: Access


*** Ken wrote/escribió (Wed, 27 Apr 2005 17:54:40 GMT):[color=blue]
> How do I to move our data stored on an external server (over the Internet)
> in a mySql database to MS Access on our office computer.[/color]

You need to install the MySQL ODBC driver (available at mysql.com), create
an ODBC source and then use the Access import tables feature.
[color=blue]
> I would like to remove the data from the
> Net and store it on our computer for security reasons.[/color]

Use your favourite MySQL client to create an SQL dump and store the
resulting file in your hard disk.


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
  #3  
Old July 17th, 2005, 01:52 PM
micha
Guest
 
Posts: n/a

re: Access


easier approach if you don't have to move data that often:

phpMyAdmin has an export feature that exports data out of mysql in many
formats, for instance xml or csv, which can easily be imported into
access.

micha

  #4  
Old July 17th, 2005, 01:52 PM
Ken
Guest
 
Posts: n/a

re: Access


I successfully installed the ODBC drive in Windows 2000
During the configuration, the Connector is asking for the server name.
Data Source Name: I just typed in any name. OK?
Description: not important
Server:
If I use localhost, I expect the connector will look at my computer. How do
I call out a website address plus the server name?
host282.domainname.com/~xxxxx/localhost ????
https://host282.domainname.com/~xxxxx/localhost ???

The database is at host282.domainname.com/~xxxxx Do I move the 282 to the
port option?

Ken


"Alvaro G Vicario" <alvaro_QUITAR_REMOVE@telecomputeronline.com> wrote in
message news:fy1zalhsqps4.102kfdw2bhzzk$.dlg@40tude.net...[color=blue]
> *** Ken wrote/escribió (Wed, 27 Apr 2005 17:54:40 GMT):[color=green]
> > How do I to move our data stored on an external server (over the[/color][/color]
Internet)[color=blue][color=green]
> > in a mySql database to MS Access on our office computer.[/color]
>
> You need to install the MySQL ODBC driver (available at mysql.com), create
> an ODBC source and then use the Access import tables feature.
>[color=green]
> > I would like to remove the data from the
> > Net and store it on our computer for security reasons.[/color]
>
> Use your favourite MySQL client to create an SQL dump and store the
> resulting file in your hard disk.
>
>
> --
> -- Álvaro G. Vicario - Burgos, Spain
> -- http://bits.demogracia.com - Mi sitio sobre programación web
> -- Don't e-mail me your questions, post them to the group
> --[/color]


  #5  
Old July 17th, 2005, 01:53 PM
Alvaro G Vicario
Guest
 
Posts: n/a

re: Access


*** Ken wrote/escribió (Wed, 27 Apr 2005 23:19:34 GMT):[color=blue]
> Server:
> If I use localhost, I expect the connector will look at my computer. How do
> I call out a website address plus the server name?[/color]

You don't call a website address. You are to connect to a MySQL server, not
a web server. They're different services.
[color=blue]
> The database is at host282.domainname.com/~xxxxx[/color]

Weird... MySQL databases are not accessed through directories, they're
merely accessed through their names. What happens if you use
host282.domainname.com as server name?

Also, please note that your hosting service does not necessarily allow
remote connections to database server.
[color=blue]
> Do I move the 282 to the port option?[/color]

Why should you?


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
  #6  
Old July 17th, 2005, 01:54 PM
Ken
Guest
 
Posts: n/a

re: Access


"Alvaro G Vicario" <alvaro_QUITAR_REMOVE@telecomputeronline.com> wrote in
message news:tkq97ucgpokl.xymvzal3w9g9$.dlg@40tude.net...[color=blue]
> *** Ken wrote/escribió (Wed, 27 Apr 2005 23:19:34 GMT):[color=green]
> > Server:
> > If I use localhost, I expect the connector will look at my computer.[/color][/color]
How do[color=blue][color=green]
> > I call out a website address plus the server name?[/color]
>
> You don't call a website address. You are to connect to a MySQL server,[/color]
not[color=blue]
> a web server. They're different services.
>[color=green]
> > The database is at host282.domainname.com/~xxxxx[/color]
>
> Weird... MySQL databases are not accessed through directories, they're
> merely accessed through their names. What happens if you use
> host282.domainname.com as server name?
>
> Also, please note that your hosting service does not necessarily allow
> remote connections to database server.[/color]

I just received the following email from my hosting service. You were right
on the mark.
[color=blue][color=green]
>>We do not support ODBC and DNS connection. But you can use DSN-less[/color][/color]
connection.

I know how to move data into and out of a MySQL database. But can a script
automatically append the data into Access?

Ken



  #7  
Old July 17th, 2005, 01:54 PM
Gordon Burditt
Guest
 
Posts: n/a

re: Access


>>>We do not support ODBC and DNS connection. But you can use DSN-less[color=blue]
>connection.
>
>I know how to move data into and out of a MySQL database. But can a script
>automatically append the data into Access?[/color]

Use mysqldump. It produces a series of SQL statements that puts
the data into a database. If you use the right options (e.g.
--compatible=mssql on MySQL 4.1 or higher) you can probably get
mysqldump to leave out the MySQL-specific stuff so MS Access can
swallow it.

Now, is there a way (command-line utility) for MS Access to take a
file full of SQL statements and run it? If so, do this from your
script.

Gordon L. Burditt
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
databases.ms-access ....soft download com answers 1 November 13th, 2005 03:08 PM
Future of access? John answers 64 November 13th, 2005 12:19 PM
Questions about Access from a .NET/C++ developer Olav.NET answers 20 November 13th, 2005 07:28 AM
Changing access levels of inherited base members Dave answers 1 July 23rd, 2005 07:23 AM
Access or Visual Studio? Jerome answers 63 July 21st, 2005 11:22 PM